Share via


CreationTime Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the creation time of the current file or directory.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

Syntax

'Declaration
Public ReadOnly Property CreationTime As DateTime
public DateTime CreationTime { get; }
public:
property DateTime CreationTime {
    DateTime get ();
}
member CreationTime : DateTime with get
function get CreationTime () : DateTime

Property Value

Type: System. . :: . .DateTime
The creation date and time of the current FileSystemInfo object.

.NET Framework Security

See Also

Reference

FileSystemInfo Class

System.IO Namespace