Finds a particular instance of a domain relationship.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Function FindElementLink ( _
linkId As Guid _
) As ElementLink
'使用
Dim instance As IElementDirectory
Dim linkId As Guid
Dim returnValue As ElementLink
returnValue = instance.FindElementLink(linkId)
ElementLink FindElementLink(
Guid linkId
)
ElementLink^ FindElementLink(
Guid linkId
)
function FindElementLink(
linkId : Guid
) : ElementLink
Parameters
linkId
Type: System.GuidThe 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, a null reference (Nothing in Visual Basic) is returned.
Permissions
- 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.