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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

public Collection<ProtoLink> GetProtoLinks(
	ProtoElementBase protoElementBase,
	Guid domainRoleId
)

Parameters

protoElementBase
Type: Microsoft.VisualStudio.Modeling.ProtoElementBase

The ProtoElement to use.

domainRoleId
Type: Guid

The Guid of the DomainRoleId to use.

Return Value

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

Show: