Sets the specified FileAttributes of the file.

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public void SetAttributes(
	IFileInfo file,
	FileAttributes fileAttributes
)
Visual Basic
Public 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.

Implements

IFileManager..::..SetAttributes(IFileInfo, FileAttributes)

See Also