共用方式為


SPUserCustomAction.Location property

取得及設定自訂動作的位置。

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

Syntax

'宣告
Public Overridable Property Location As String
    Get
    Set
'用途
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
包含位置,例如Microsoft.SharePoint.ListEdit字串。

請參閱

參照

SPUserCustomAction class

SPUserCustomAction members

Microsoft.SharePoint namespace

其他資源

Default Custom Action Locations and IDs