共用方式為


SPWeb.Features property

取得目前在網站中已啟動的功能集合。

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.SPFeatureCollection
SPFeature 物件的集合,代表目前在網站上啟用的功能。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace