This documentation is archived and is not being maintained.

OleUndoEngine Constructor

Initializes a new instance of OleUndoEngine.

Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in microsoft.visualstudio.shell.design.dll)

public OleUndoEngine (
	IServiceProvider provider
)
public OleUndoEngine (
	IServiceProvider provider
)
public function OleUndoEngine (
	provider : IServiceProvider
)

Parameters

provider

A instance of the IServiceProvider interface to be used to obtain system resources by the instance of OleUndoEngine.

Exception typeCondition

InvalidOperationException

Thrown if IServiceProvider does not supply necessary services.

Show: