共用方式為


SP.RoleDefinition(Context, ObjectPath) Constructor

Applies to: SharePoint Foundation 2010

Initializes a new instance of the SP.RoleDefinition Class.

var value = new RoleDefinition(Context, ObjectPath);

Parameters

Context

Type: SP.ClientRuntimeContext

ObjectPath

Type: SP.ObjectPath

Applies To

SP.RoleDefinition Class

See Also

Reference

SP.RoleDefinition Methods

SP.RoleDefinition Properties

SP Namespace