共用方式為


SPFileStream.Length property

取得資料流的位元組長度。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Overrides ReadOnly Property Length As Long
    Get
'用途
Dim instance As SPFileStream
Dim value As Long

value = instance.Length
public override long Length { get; }

Property value

Type: System.Int64
long值,表示資料流,以位元組為單位的長度。

請參閱

參照

SPFileStream class

SPFileStream members

Microsoft.SharePoint namespace