共用方式為


SPUserCustomAction.Location Property

Gets and sets the location 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 Overridable Property Location As String
    Get
    Set
'Usage
Dim instance As SPUserCustomAction
Dim value As String

value = instance.Location

instance.Location = value
[ClientCallablePropertyAttribute]
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