Partager via


IElementDirectory.FindElementLink Method

Finds a particular instance of a domain relationship.

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

Syntax

'Declaration
Function FindElementLink ( _
    linkId As Guid _
) As ElementLink
ElementLink FindElementLink(
    Guid linkId
)
ElementLink^ FindElementLink(
    Guid linkId
)
abstract FindElementLink : 
        linkId:Guid -> ElementLink
function FindElementLink(
    linkId : Guid
) : ElementLink

Parameters

  • linkId
    Type: System.Guid

    The ID of the domain relationship instance.

Return Value

Type: Microsoft.VisualStudio.Modeling.ElementLink
An ElementLink that represents an instance of the domain relationship.

Remarks

If the element link is not found, nulla null reference (Nothing in Visual Basic) is returned.

.NET Framework Security

See Also

Reference

IElementDirectory Interface

Microsoft.VisualStudio.Modeling Namespace