| ZennoLab.Macros Assembly > ZennoLab.Macros Namespace > FileSystem Class : FileCountOfLines Method |
Type: System.String
Path to the file.
Type: System.String
Path to the file.
Type: System.Int32
Count of lines in the file.
string path = {pathToFile}; string countOfLines = FileSystem.FileCountOfLines(path);
$path = {pathToFile}; $countOfLines = FileSystem::FileCountOfLines($path);
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven