Číst v angličtině

Sdílet prostřednictvím


ElementGroupPrototype.IsInRole Method

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

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

Syntax

public bool IsInRole(
    ProtoElementBase protoElementBase,
    Guid domainRoleId
)

Parameters

  • 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.

.NET Framework Security

See Also

Reference

ElementGroupPrototype Class

Microsoft.VisualStudio.Modeling Namespace