共用方式為


ClosureFindAndRelateElementOperation.ResolveFindElement Method

Definition

Resolve searching for an element in an existing store

protected:
 virtual Microsoft::VisualStudio::Modeling::ModelElement ^ ResolveFindElement(Microsoft::VisualStudio::Modeling::Partition ^ targetPartition, Microsoft::VisualStudio::Modeling::ElementGroup ^ group);
protected virtual Microsoft.VisualStudio.Modeling.ModelElement ResolveFindElement (Microsoft.VisualStudio.Modeling.Partition targetPartition, Microsoft.VisualStudio.Modeling.ElementGroup group);
abstract member ResolveFindElement : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.ModelElement
override this.ResolveFindElement : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.ModelElement
Protected Overridable Function ResolveFindElement (targetPartition As Partition, group As ElementGroup) As ModelElement

Parameters

targetPartition
Partition

the target partition to search

group
ElementGroup

the associated element group

Returns

ModelElement or null

Applies to