ElementGroupPrototype.IsInRole(ProtoElementBase, Guid) 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.
Returns true if the passed ProtoElementBase plays in the passed role in this ElementGroupPrototype.
public:
bool IsInRole(Microsoft::VisualStudio::Modeling::ProtoElementBase ^ protoElementBase, Guid domainRoleId);
public bool IsInRole (Microsoft.VisualStudio.Modeling.ProtoElementBase protoElementBase, Guid domainRoleId);
member this.IsInRole : Microsoft.VisualStudio.Modeling.ProtoElementBase * Guid -> bool
Public Function IsInRole (protoElementBase As ProtoElementBase, domainRoleId As Guid) As Boolean
Parameters
- protoElementBase
- ProtoElementBase
The ProtoElementBase to test.
- domainRoleId
- Guid
The Guid of the DomainRoleId to test.
Returns
true if the passed ProtoElementBase plays in the passed role in this ElementGroupPrototype.