IElementDirectory.FindDeletedElement Method
Finds a particular element that has been deleted.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Function FindDeletedElement ( _
elementId As Guid _
) As ModelElement
ModelElement FindDeletedElement(
Guid elementId
)
ModelElement^ FindDeletedElement(
Guid elementId
)
abstract FindDeletedElement :
elementId:Guid -> ModelElement
function FindDeletedElement(
elementId : Guid
) : ModelElement
Parameters
elementId
Type: GuidThe 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, nulla null reference (Nothing in Visual Basic) is returned.
.NET Framework Security
- 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.