SetAttributes()
File::SetAttributes(const String&, FileAttributes) method
Sets the specified attributes on the specified file.
static void System::IO::File::SetAttributes(const String &path, FileAttributes fileAttributes)
Arguments
Parameter | Type | Description |
---|---|---|
path | const String& | The path of the file on which the attributes to be set |
fileAttributes | FileAttributes | A bitwise combination of FileAttributes values representing the attributes to set |
See Also
- Enum FileAttributes
- Class String
- Class File
- Namespace System::IO
- Library Aspose.Slides