共用方式為


SPFileVersionCollection.Count property

取得集合中的檔案版本的物件數目。

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

Syntax

'宣告
Public Overrides ReadOnly Property Count As Integer
    Get
'用途
Dim instance As SPFileVersionCollection
Dim value As Integer

value = instance.Count
public override int Count { get; }

Property value

Type: System.Int32
不帶正負號的 32 位元整數,表示檔案版本的物件數目。

Implements

ICollection.Count

請參閱

參照

SPFileVersionCollection class

SPFileVersionCollection members

Microsoft.SharePoint namespace