ElementGroupPrototype.IsInRole Method

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

Syntax

'宣言
Public Function IsInRole ( _
    protoElementBase As ProtoElementBase, _
    domainRoleId As Guid _
) As Boolean
'使用
Dim instance As ElementGroupPrototype
Dim protoElementBase As ProtoElementBase
Dim domainRoleId As Guid
Dim returnValue As Boolean

returnValue = instance.IsInRole(protoElementBase, _
    domainRoleId)
public bool IsInRole(
    ProtoElementBase protoElementBase,
    Guid domainRoleId
)
public:
bool IsInRole(
    ProtoElementBase^ protoElementBase, 
    Guid domainRoleId
)
public function IsInRole(
    protoElementBase : ProtoElementBase, 
    domainRoleId : Guid
) : boolean

Parameters

Return Value

Type: System.Boolean

Permissions

See Also

Reference

ElementGroupPrototype Class

ElementGroupPrototype Members

Microsoft.VisualStudio.Modeling Namespace