共用方式為


SP.UserCustomAction.url Property

Applies to: SharePoint Foundation 2010

Gets or sets the URL, URI, or ECMAScript (JScript, JavaScript) function associated with the action.

var value = SP.UserCustomAction.get_url(); 
SP.UserCustomAction.set_url(value);

Property Value

Type: String

Applies To

SP.UserCustomAction Class

See Also

Reference

SP.UserCustomAction Methods

SP.UserCustomAction Properties

SP Namespace