Directory.GetCreationTime Method


Directory.GetCreationTime Method

Class

System.IO.Directory

Syntax

     Dim result As Date = Directory.GetCreationTime(path) 


path (required; String)

A valid path to be examined for a creation time

Description

Indicates the date and time when a given directory was first created

Usage at a Glance

  • path can be either an absolute path or a relative path from the current directory.

  • 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.

Version Differences

Visual Basic 2005 includes a My.Computer.FileSystem.GetDirectoryInfo method that provides access to detailed information about a directory.




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net