Partager via


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

.NET Framework Security

See Also

Reference

ElementOperations Class

Microsoft.VisualStudio.Modeling Namespace