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)
ParameterTypeDescription
pathconst String&The path of the file on which the attributes to be set
fileAttributesFileAttributesA bitwise combination of FileAttributes values representing the attributes to set

See Also