共用方式為


IElementDirectory.GetElement(Guid) Method

Definition

Get a particular element.

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

Parameters

elementId
Guid

The Id of the element for be retrieved

Returns

The element

Applies to