Partilhar via


SPUserCustomAction.Scope Property

Gets a value that specifies the scope of the custom action.

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

Syntax

'Declaration
<ClientCallablePropertyAttribute> _
Public ReadOnly Property Scope As SPUserCustomActionScope
    Get
'Usage
Dim instance As SPUserCustomAction
Dim value As SPUserCustomActionScope

value = instance.Scope
[ClientCallablePropertyAttribute]
public SPUserCustomActionScope Scope { get; }

Property Value

Type: Microsoft.SharePoint.SPUserCustomActionScope
An enumeration value that specifies a scope.

See Also

Reference

SPUserCustomAction Class

SPUserCustomAction Members

Microsoft.SharePoint Namespace