Sets the specified FileAttributes of the file.
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
void SetAttributes( IFileInfo file, FileAttributes fileAttributes ) |
| Visual Basic |
|---|
Sub SetAttributes ( file As IFileInfo, fileAttributes As FileAttributes ) |
Parameters
- file
- Type: DotNetNuke.Services.FileSystem..::..IFileInfo
The file.
- fileAttributes
- Type: System.IO..::..FileAttributes
The file attributes to add.