次の方法で共有


SPObjectModelTypeCollection.Count property

Number of entries 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 SPObjectModelTypeCollection
Dim value As Integer

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

Property value

Type: System.Int32
An Int32 representation of the collection entry count.

See also

Reference

SPObjectModelTypeCollection class

SPObjectModelTypeCollection members

Microsoft.SharePoint.Administration namespace