Partilhar via


Construtor UndoableGraphTransactionScope (Object, UndoOption)

Criar um novo UndoableGraphTransactionScope

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (em Microsoft.VisualStudio.GraphModel.dll)

Sintaxe

'Declaração
Public Sub New ( _
    undoUnitId As Object, _
    option As UndoOption _
)
public UndoableGraphTransactionScope(
    Object undoUnitId,
    UndoOption option
)
public:
UndoableGraphTransactionScope(
    Object^ undoUnitId, 
    UndoOption option
)
new : 
        undoUnitId:Object * 
        option:UndoOption -> UndoableGraphTransactionScope
public function UndoableGraphTransactionScope(
    undoUnitId : Object, 
    option : UndoOption
)

Parâmetros

  • undoUnitId
    Tipo: System.Object
    A identificação de ação undoable, não deve ser um objeto de System.String

Segurança do .NET Framework

Consulte também

Referência

UndoableGraphTransactionScope Classe

Sobrecargas UndoableGraphTransactionScope

Namespace Microsoft.VisualStudio.GraphModel