Share via


SPElementDefinitionCollection.Count property

Gets the number of element definitions in the collection.

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

Syntax

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

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

Property value

Type: System.Int32
A 32-bit integer that indicates the number of element definitions.

See also

Reference

SPElementDefinitionCollection class

SPElementDefinitionCollection members

Microsoft.SharePoint.Administration namespace