Share via


SPScriptSafeCollection.Count property

Gets the number of items in this collection.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPScriptSafeCollection
Dim value As Integer

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

Property value

Type: System.Int32
The number of items in this collection.

Implements

ICollection.Count

See also

Reference

SPScriptSafeCollection class

SPScriptSafeCollection members

Microsoft.SharePoint namespace