IElementDirectory.FindElement(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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