共用方式為


SPContext.WebFeatures property

取得Microsoft SharePoint Foundation內容啟動站台功能。

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

Syntax

'宣告
Public ReadOnly Property WebFeatures As SPFeatureCollection
    Get
'用途
Dim instance As SPContext
Dim value As SPFeatureCollection

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

Property value

Type: Microsoft.SharePoint.SPFeatureCollection
表示功能的SPFeatureCollection物件。

請參閱

參照

SPContext class

SPContext members

Microsoft.SharePoint namespace