共用方式為


ElementOperations.PropagateElementGroupContextToTransaction Method

Definition

Propagates the context present in the element group to the currently active top-level transaction.

protected:
 virtual void PropagateElementGroupContextToTransaction(Microsoft::VisualStudio::Modeling::ModelElement ^ targetElement, Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup, Microsoft::VisualStudio::Modeling::Transaction ^ transaction);
protected virtual void PropagateElementGroupContextToTransaction (Microsoft.VisualStudio.Modeling.ModelElement targetElement, Microsoft.VisualStudio.Modeling.ElementGroup elementGroup, Microsoft.VisualStudio.Modeling.Transaction transaction);
abstract member PropagateElementGroupContextToTransaction : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroup * Microsoft.VisualStudio.Modeling.Transaction -> unit
override this.PropagateElementGroupContextToTransaction : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroup * Microsoft.VisualStudio.Modeling.Transaction -> unit
Protected Overridable Sub PropagateElementGroupContextToTransaction (targetElement As ModelElement, elementGroup As ElementGroup, transaction As Transaction)

Parameters

targetElement
ModelElement
elementGroup
ElementGroup
transaction
Transaction

Applies to