Partager via


UndoManager Constructor (IServiceProvider)

Create an UndoManager that wraps a new instance of IOleUndoManager.

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

Syntax

'Declaration
Public Sub New ( _
    serviceProvider As IServiceProvider _
)
public UndoManager(
    IServiceProvider serviceProvider
)
public:
UndoManager(
    IServiceProvider^ serviceProvider
)
new : 
        serviceProvider:IServiceProvider -> UndoManager
public function UndoManager(
    serviceProvider : IServiceProvider
)

Parameters

.NET Framework Security

See Also

Reference

UndoManager Class

UndoManager Overload

Microsoft.VisualStudio.Modeling.Shell Namespace