共用方式為


RoleAssignment Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the RoleAssignment class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method RoleAssignment(Guid, ModelElement) Initializes a new instance of the RoleAssignment class given an element that plays the role.
Public method RoleAssignment(Guid, Moniker) Initializes a new instance of the RoleAssignment class.
Public method RoleAssignment(Guid, ModelElement, Int32) Initializes a new instance of the RoleAssignment class.
Public method RoleAssignment(Guid, Moniker, Int32) Initializes a new instance of the RoleAssignment class.

Top

See Also

Reference

RoleAssignment Class

Microsoft.VisualStudio.Modeling Namespace