共用方式為


SPElementDefinitionCollection.Count property

取得集合中的元素定義的數目。

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

Syntax

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

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

Property value

Type: System.Int32
32 位元整數,指出的元素定義的數目。

請參閱

參照

SPElementDefinitionCollection class

SPElementDefinitionCollection members

Microsoft.SharePoint.Administration namespace