Name
Directory.GetCreationTime Method
Class
System.IO.Directory
Syntax
Directory.GetCreationTime(path
)
-
path
Use: Required
Data Type: String
A valid path
Return Value
A Date value indicating the creation date and time of the directory
Description
Indicates when a given directory was created
Rules at a Glance
path
can be either an absolute path (a complete path from the root directory to the directory whose creation time is to be retrieved) or a relative path (starting from the current directory to the directory whose creation time and existence is to be retrieved).path
can be either a path on the local system, the path of a mapped network drive, or a UNC path.path
cannot contain wildcard characters.
Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.