DomainRoleInfo.SetRolePlayer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetRolePlayer(ElementLink, ModelElement) |
Sets link role player corresponding to this role. |
SetRolePlayer(ElementLink, Guid, ModelElement) |
Sets specified role player on a link. |
SetRolePlayer(ElementLink, ModelElement)
Sets link role player corresponding to this role.
public:
void SetRolePlayer(Microsoft::VisualStudio::Modeling::ElementLink ^ link, Microsoft::VisualStudio::Modeling::ModelElement ^ newRolePlayerElement);
public void SetRolePlayer (Microsoft.VisualStudio.Modeling.ElementLink link, Microsoft.VisualStudio.Modeling.ModelElement newRolePlayerElement);
member this.SetRolePlayer : Microsoft.VisualStudio.Modeling.ElementLink * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Sub SetRolePlayer (link As ElementLink, newRolePlayerElement As ModelElement)
Parameters
- link
- ElementLink
Element link.
- newRolePlayerElement
- ModelElement
New role player for this role.
Applies to
SetRolePlayer(ElementLink, Guid, ModelElement)
Sets specified role player on a link.
public:
static void SetRolePlayer(Microsoft::VisualStudio::Modeling::ElementLink ^ link, Guid domainRoleId, Microsoft::VisualStudio::Modeling::ModelElement ^ newRolePlayerElement);
public static void SetRolePlayer (Microsoft.VisualStudio.Modeling.ElementLink link, Guid domainRoleId, Microsoft.VisualStudio.Modeling.ModelElement newRolePlayerElement);
static member SetRolePlayer : Microsoft.VisualStudio.Modeling.ElementLink * Guid * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Shared Sub SetRolePlayer (link As ElementLink, domainRoleId As Guid, newRolePlayerElement As ModelElement)
Parameters
- link
- ElementLink
Element link.
- domainRoleId
- Guid
Domain role to set role player for.
- newRolePlayerElement
- ModelElement
New role player.