共用方式為


ElementGroupPrototype.ResolveProtoLinks Method

Resolves the passed IList of ProtoLinks into the ProtoElements that play in the passed DomainRoleId.

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

Syntax

'宣告
Public Function ResolveProtoLinks ( _
    protoLinksToResolve As Collection(Of ProtoLink), _
    domainRoleId As Guid _
) As Collection(Of ProtoElementBase)
public Collection<ProtoElementBase> ResolveProtoLinks(
    Collection<ProtoLink> protoLinksToResolve,
    Guid domainRoleId
)
public:
Collection<ProtoElementBase^>^ ResolveProtoLinks(
    Collection<ProtoLink^>^ protoLinksToResolve, 
    Guid domainRoleId
)
member ResolveProtoLinks : 
        protoLinksToResolve:Collection<ProtoLink> * 
        domainRoleId:Guid -> Collection<ProtoElementBase> 
public function ResolveProtoLinks(
    protoLinksToResolve : Collection<ProtoLink>, 
    domainRoleId : Guid
) : Collection<ProtoElementBase>

Parameters

  • domainRoleId
    Type: System.Guid
    The Guid DomainRoleId to resolve.

Return Value

Type: System.Collections.ObjectModel.Collection<ProtoElementBase>
An IList of ProtoElements that are playing in the passed DomainRoleId.

.NET Framework Security

See Also

Reference

ElementGroupPrototype Class

Microsoft.VisualStudio.Modeling Namespace