共用方式為


SPSite.Features Property

Gets the collection of SPFeature objects that are associated with the site collection.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Features As SPFeatureCollection
    Get
'Usage
Dim instance As SPSite
Dim value As SPFeatureCollection

value = instance.Features
[ClientCallableAttribute]
public SPFeatureCollection Features { get; }

Property Value

Type: Microsoft.SharePoint.SPFeatureCollection
An SPFeatureCollection collection of SPFeature objects.

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace