Compartilhar via


ElementGroupPrototype.GetProtoLinks Method

Returns an IList of ProtoLink objects that contain the passed ProtoElementBase playing in the passed DomainRoleId.

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

Syntax

'Declaração
Public Function GetProtoLinks ( _
    protoElementBase As ProtoElementBase, _
    domainRoleId As Guid _
) As Collection(Of ProtoLink)
public Collection<ProtoLink> GetProtoLinks(
    ProtoElementBase protoElementBase,
    Guid domainRoleId
)
public:
Collection<ProtoLink^>^ GetProtoLinks(
    ProtoElementBase^ protoElementBase, 
    Guid domainRoleId
)
member GetProtoLinks : 
        protoElementBase:ProtoElementBase * 
        domainRoleId:Guid -> Collection<ProtoLink> 
public function GetProtoLinks(
    protoElementBase : ProtoElementBase, 
    domainRoleId : Guid
) : Collection<ProtoLink>

Parameters

  • domainRoleId
    Type: System.Guid
    The Guid of the DomainRoleId to use.

Return Value

Type: System.Collections.ObjectModel.Collection<ProtoLink>
An IList of ProtoLink objects that contain the passed ProtoElementBase playing in the passed DomainRoleId.

.NET Framework Security

See Also

Reference

ElementGroupPrototype Class

Microsoft.VisualStudio.Modeling Namespace