共用方式為


OleUndoEngine(IServiceProvider) Constructor

Definition

Initializes a new instance of OleUndoEngine.

public:
 OleUndoEngine(IServiceProvider ^ provider);
public OleUndoEngine (IServiceProvider provider);
new Microsoft.VisualStudio.Shell.Design.OleUndoEngine : IServiceProvider -> Microsoft.VisualStudio.Shell.Design.OleUndoEngine
Public Sub New (provider As IServiceProvider)

Parameters

provider
IServiceProvider

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

Exceptions

Thrown if IServiceProvider does not supply necessary services.

Applies to