Share via


SPUserCustomAction.Location property

Gets and sets the location of the custom action.

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

Syntax

'Declaration
Public Overridable Property Location As String
    Get
    Set
'Usage
Dim instance As SPUserCustomAction
Dim value As String

value = instance.Location

instance.Location = value
public virtual string Location { get; set; }

Property value

Type: System.String
A string that contains a location, such as Microsoft.SharePoint.ListEdit.

See also

Reference

SPUserCustomAction class

SPUserCustomAction members

Microsoft.SharePoint namespace

Other resources

Default Custom Action Locations and IDs