Gets the file attributes of the specified file.
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public abstract Nullable<FileAttributes> GetFileAttributes( IFileInfo file ) |
| Visual Basic |
|---|
Public MustOverride Function GetFileAttributes ( file As IFileInfo ) As Nullable(Of FileAttributes) |
Parameters
- file
- Type: DotNetNuke.Services.FileSystem..::..IFileInfo
paramfileM:DotNetNuke.Services.FileSystem.FolderProvider.GetFileAttributes(DotNetNuke.Services.FileSystem.IFileInfo)
Return Value
returnsM:DotNetNuke.Services.FileSystem.FolderProvider.GetFileAttributes(DotNetNuke.Services.FileSystem.IFileInfo)
Remarks
Because some Providers don't support file attributes, this methods returns a nullable type to allow them to return null.