ElementGroupPrototype::IsInRole Method (ProtoElementBase^, Guid)

 

Returns true if the passed ProtoElementBase plays in the passed role in this ElementGroupPrototype.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
bool IsInRole(
	ProtoElementBase^ protoElementBase,
	Guid domainRoleId
)

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::Boolean

true if the passed ProtoElementBase plays in the passed role in this ElementGroupPrototype.

Return to top
Show: