ElementGroupPrototype::IsInRole Method (ProtoElementBase^, Guid)
Visual Studio 2015
Returns true if the passed ProtoElementBase plays in the passed role in this ElementGroupPrototype.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Parameters
- protoElementBase
-
Type:
Microsoft.VisualStudio.Modeling::ProtoElementBase^
The ProtoElementBase to test.
- domainRoleId
-
Type:
System::Guid
The Guid of the DomainRoleId to test.
Return Value
Type: System::Booleantrue if the passed ProtoElementBase plays in the passed role in this ElementGroupPrototype.
Show: