ElementOperations.PropagateElementGroupContextToTransaction Method
Propagates the context present in the element group to the currently active top-level transaction.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Protected Overridable Sub PropagateElementGroupContextToTransaction ( _
targetElement As ModelElement, _
elementGroup As ElementGroup, _
transaction As Transaction _
)
protected virtual void PropagateElementGroupContextToTransaction(
ModelElement targetElement,
ElementGroup elementGroup,
Transaction transaction
)
protected:
virtual void PropagateElementGroupContextToTransaction(
ModelElement^ targetElement,
ElementGroup^ elementGroup,
Transaction^ transaction
)
abstract PropagateElementGroupContextToTransaction :
targetElement:ModelElement *
elementGroup:ElementGroup *
transaction:Transaction -> unit
override PropagateElementGroupContextToTransaction :
targetElement:ModelElement *
elementGroup:ElementGroup *
transaction:Transaction -> unit
protected function PropagateElementGroupContextToTransaction(
targetElement : ModelElement,
elementGroup : ElementGroup,
transaction : Transaction
)
Parameters
- targetElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.