Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FileInfo Properties

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

Public Properties

public propertyAttributes (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets or sets the FileAttributes of the current FileSystemInfo.
public propertyCreationTime (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets or sets the creation time of the current FileSystemInfo object.
public propertyCreationTimeUtc (inherited from FileSystemInfo) Gets or sets the creation time, in coordinated universal time (UTC), of the current FileSystemInfo object.
public propertyDirectory

Supported by the .NET Compact Framework.

Gets an instance of the parent directory.
public propertyDirectoryName

Supported by the .NET Compact Framework.

Gets a string representing the directory's full path.
public propertyExists

Supported by the .NET Compact Framework.

Overridden. Gets a value indicating whether a file exists.
public propertyExtension (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets the string representing the extension part of the file.
public propertyFullName (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets the full path of the directory or file.
public propertyLastAccessTime (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets or sets the time the current file or directory was last accessed.
public propertyLastAccessTimeUtc (inherited from FileSystemInfo) Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed.
public propertyLastWriteTime (inherited from FileSystemInfo)

Supported by the .NET Compact Framework.

Gets or sets the time when the current file or directory was last written to.
public propertyLastWriteTimeUtc (inherited from FileSystemInfo) Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.
public propertyLength

Supported by the .NET Compact Framework.

Gets the size of the current file.
public propertyName

Supported by the .NET Compact Framework.

Overridden. Gets the name of the file.

See Also

FileInfo Class | System.IO Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.