IElementDirectory.GetDeletedElement Method
Gets a particular element that has been deleted.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Function GetDeletedElement ( _
elementId As Guid _
) As ModelElement
ModelElement GetDeletedElement(
Guid elementId
)
ModelElement^ GetDeletedElement(
Guid elementId
)
abstract GetDeletedElement :
elementId:Guid -> ModelElement
function GetDeletedElement(
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 object.
Remarks
If the element is not found, an exception is thrown.
.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.