共用方式為


SPSite.Features property

取得網站集合相關聯的SPFeature物件的集合。

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

Syntax

'宣告
Public ReadOnly Property Features As SPFeatureCollection
    Get
'用途
Dim instance As SPSite
Dim value As SPFeatureCollection

value = instance.Features
public SPFeatureCollection Features { get; }

Property value

Type: Microsoft.SharePoint.SPFeatureCollection
SPFeature物件的SPFeatureCollection集合。

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace