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
serviceProvider
Type: System.IServiceProviderService provider used to retrieve Visual Studio services.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.