UndoManager Constructor (IServiceProvider)
Create an UndoManager that wraps a new instance of IOleUndoManager.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Dichiarazione
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.IServiceProvider
Service 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.