次の方法で共有


IElementDirectory.GetElementLink Method

Gets a particular instance of a domain relationship.

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

Syntax

'宣言
Function GetElementLink ( _
    linkId As Guid _
) As ElementLink
ElementLink GetElementLink(
    Guid linkId
)
ElementLink^ GetElementLink(
    Guid linkId
)
abstract GetElementLink : 
        linkId:Guid -> ElementLink 
function GetElementLink(
    linkId : Guid
) : ElementLink

Parameters

  • linkId
    Type: System.Guid
    The ID of the domain relationship instance.

Return Value

Type: Microsoft.VisualStudio.Modeling.ElementLink
An ElementLink object.

Remarks

If the element link is not found, an exception is thrown.

.NET Framework Security

See Also

Reference

IElementDirectory Interface

Microsoft.VisualStudio.Modeling Namespace