public static int DirectoryCountOfFiles( string pathToDirectory )
Parameters
- pathToDirectory
Type: System.String
Path to the directory.
Return Value
Type: System.Int32
Count of files in the directory.
Type: System.String
Path to the directory.
public static int DirectoryCountOfFiles( string pathToDirectory )
Type: System.String
Path to the directory.
Type: System.Int32
Count of files in the directory.
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.