共用方式為


SP.ClientObject.context Property

Applies to: SharePoint Foundation 2010

Returns the context that is associated with the client object.

var value = SP.ClientObject.get_context();

Property Value

Type: SP.ClientRuntimeContext

The context associated with the client object.

Applies To

SP.ClientObject Class

See Also

Reference

SP.ClientObject Methods

SP.ClientObject Properties

SP Namespace