共用方式為


SPObjectModelTypeCollection.Count Property

Number of entries in the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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