File.GetAttributes Method
Gets the FileAttributes of the file on the path.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Syntax
public static FileAttributes GetAttributes (
stringpath
)
Parameters
- path
The path to the file.
Return Value
The FileAttributes of the file on the path.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.