DirectoryHelper.GetFileSize Method

HD.Common

DirectoryHelperGetFileSize Method Helper帮助文档
获取一个文件的长度,单位为Byte

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

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

Parameters

filePath
Type: SystemString
文件的绝对路径

Return Value

Type: Int32

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

See Also

Reference