Udostępnij za pośrednictwem


IElementDirectory.FindElement(Guid) Method

Definition

Gets an element with specified ID.

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

Parameters

elementId
Guid

The Id of the element to be retrieved

Returns

The element or null if it was not found

Applies to