다음을 통해 공유


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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

.NET Framework Security

See Also

Reference

UndoManager Class

UndoManager Overload

Microsoft.VisualStudio.Modeling.Shell Namespace