ElementGroupPrototype.GetProtoLinks(ProtoElementBase, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.