共用方式為


SPUserCustomActionCollection.Scope property

取得集合的範圍。

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

Syntax

'宣告
Public ReadOnly Property Scope As SPUserCustomActionScope
    Get
'用途
Dim instance As SPUserCustomActionCollection
Dim value As SPUserCustomActionScope

value = instance.Scope
public SPUserCustomActionScope Scope { get; }

Property value

Type: Microsoft.SharePoint.SPUserCustomActionScope
SPUserCustomActionScope
集合的範圍。可能值包括Site、 Web、 List和Unknown。

請參閱

參照

SPUserCustomActionCollection class

SPUserCustomActionCollection members

Microsoft.SharePoint namespace