NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

File Properties

The properties of the File class are listed below. For a complete list of File class members, see the File Members topic.

Public:

Attributes Gets or sets the attributes of the current file.
CreationTime Gets the creation time of the current file.
Directory Creates an instance of the parent directory.
DirectoryName Returns the name of the directory that the file is in.
Exists Determines whether a file exists.
FullName (inherited from FileSystemEntry) Retrieves the full path of the directory or file.
IsDirectory Indicates whether the object is a directory.
IsFile Indicates whether the object is a file.
LastAccessTime Contains the time the current file or directory was last accessed.
LastWriteTime Returns the time when the current file or directory was last written to.
Length Contains the size of the current file or directory.
Name Retrieves the name of the file.

See Also

File Class | System.IO Namespace