DirectoryHelper.GetLineCount Method

HD.Common

DirectoryHelperGetLineCount Method Helper帮助文档
获取文本文件的行数

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static int GetLineCount(
	string filePath
)
Public Shared Function GetLineCount ( 
	filePath As String
) As Integer
public:
static int GetLineCount(
	String^ filePath
)
static member GetLineCount : 
        filePath : string -> int 

Parameters

filePath
Type: SystemString
文件的绝对路径

Return Value

Type: Int32

[Missing <returns> documentation for "M:HD.Common.DirectoryHelper.GetLineCount(System.String)"]

See Also

Reference