System::IO::File::SetAttributes method
File::SetAttributes method
Sets the specified attributes on the specified file.
static void System::IO::File::SetAttributes(const String &path, FileAttributes fileAttributes)
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
- Class String
- Enum FileAttributes
- Class File
- Namespace System::IO
- Library Aspose.PUB for C++