共用方式為


SPScriptSafeCollection.Count property

取得這個集合中的項目數目。

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

Syntax

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

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

Property value

Type: System.Int32
這個集合中的項目數目。

Implements

ICollection.Count

請參閱

參照

SPScriptSafeCollection class

SPScriptSafeCollection members

Microsoft.SharePoint namespace