Share 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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
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

  • serviceProvider
    Type: IServiceProvider

    Service provider used to retrieve shell services.

.NET Framework Security

See Also

Reference

UndoManager Class

UndoManager Overload

Microsoft.VisualStudio.Modeling.Shell Namespace