Share via


ElementGroupPrototype.GetProtoLinks(ProtoElementBase, Guid) Method

Definition

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

public:
 System::Collections::ObjectModel::Collection<Microsoft::VisualStudio::Modeling::ProtoLink ^> ^ GetProtoLinks(Microsoft::VisualStudio::Modeling::ProtoElementBase ^ protoElementBase, Guid domainRoleId);
public System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Modeling.ProtoLink> GetProtoLinks (Microsoft.VisualStudio.Modeling.ProtoElementBase protoElementBase, Guid domainRoleId);
member this.GetProtoLinks : Microsoft.VisualStudio.Modeling.ProtoElementBase * Guid -> System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Modeling.ProtoLink>
Public Function GetProtoLinks (protoElementBase As ProtoElementBase, domainRoleId As Guid) As Collection(Of ProtoLink)

Parameters

protoElementBase
ProtoElementBase

The ProtoElement to use.

domainRoleId
Guid

The Guid of the DomainRoleId to use.

Returns

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

Applies to