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
- protoElementBase
Type: Microsoft.VisualStudio.Modeling.ProtoElementBase
The ProtoElement to use.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.