共用方式為


SPFeatureCollection.Count Property

Gets the number of Features in the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPFeatureCollection
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 Features.

Implements

ICollection.Count

See Also

Reference

SPFeatureCollection Class

SPFeatureCollection Members

Microsoft.SharePoint Namespace