IElementDirectory.FindDeletedElement Method

Finds a particular element that has been deleted.

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

Syntax

'宣言
Function FindDeletedElement ( _
    elementId As Guid _
) As ModelElement
'使用
Dim instance As IElementDirectory
Dim elementId As Guid
Dim returnValue As ModelElement

returnValue = instance.FindDeletedElement(elementId)
ModelElement FindDeletedElement(
    Guid elementId
)
ModelElement^ FindDeletedElement(
    Guid elementId
)
function FindDeletedElement(
    elementId : Guid
) : ModelElement

Parameters

  • elementId
    Type: System.Guid

    The ID of the deleted element to be retrieved.

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

A ModelElement that has been deleted.

Remarks

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

Permissions

See Also

Reference

IElementDirectory Interface

IElementDirectory Members

Microsoft.VisualStudio.Modeling Namespace