Partager via


ClosureFindElementOperation.FindElement Method

Definition

default brute force search operation

public:
 virtual Microsoft::VisualStudio::Modeling::ModelElement ^ FindElement(Guid elementId, Guid domainClassId, Microsoft::VisualStudio::Modeling::Store ^ targetStore, Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public virtual Microsoft.VisualStudio.Modeling.ModelElement FindElement (Guid elementId, Guid domainClassId, Microsoft.VisualStudio.Modeling.Store targetStore, Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
abstract member FindElement : Guid * Guid * Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.ModelElement
override this.FindElement : Guid * Guid * Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.ModelElement
Public Overridable Function FindElement (elementId As Guid, domainClassId As Guid, targetStore As Store, elementGroup As ElementGroup) As ModelElement

Parameters

elementId
Guid

Id of the source element to search for

domainClassId
Guid

Id of the class to search for

targetStore
Store

Store to search

elementGroup
ElementGroup

Containing Element Group

Returns

The found element or null if not found

Applies to