 | FileExLineCount 方法 (String) |
Sweet 开发框架
获取文本文件的行数
命名空间:
Sweet.Common
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static int LineCount(
string filePath
)
Public Shared Function LineCount (
filePath As String
) As Integer
static member LineCount :
filePath : string -> int
参数
- filePath
- 类型:SystemString
文件的绝对路径
返回值
类型:
Int32结果
参见