共用方式為


IElementDirectory.GetDeletedElement(Guid) Method

Definition

Get a particular element that has been deleted.

public:
 Microsoft::VisualStudio::Modeling::ModelElement ^ GetDeletedElement(Guid elementId);
public Microsoft.VisualStudio.Modeling.ModelElement GetDeletedElement (Guid elementId);
abstract member GetDeletedElement : Guid -> Microsoft.VisualStudio.Modeling.ModelElement
Public Function GetDeletedElement (elementId As Guid) As ModelElement

Parameters

elementId
Guid

The Id of the deleted element to be retrieved

Returns

the ModelElement or null if it was not found

Applies to