Partilhar via


UndoManager Constructor (IServiceProvider, IOleUndoManager)

Create a new UndoManager with the specified service provider and IOleUndoManager.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaração
Public Sub New ( _
    serviceProvider As IServiceProvider, _
    oleUndoManager As IOleUndoManager _
)
public UndoManager(
    IServiceProvider serviceProvider,
    IOleUndoManager oleUndoManager
)
public:
UndoManager(
    IServiceProvider^ serviceProvider, 
    IOleUndoManager^ oleUndoManager
)
new : 
        serviceProvider:IServiceProvider * 
        oleUndoManager:IOleUndoManager -> UndoManager
public function UndoManager(
    serviceProvider : IServiceProvider, 
    oleUndoManager : IOleUndoManager
)

Parameters

.NET Framework Security

See Also

Reference

UndoManager Class

UndoManager Overload

Microsoft.VisualStudio.Modeling.Shell Namespace