OleUndoEngine.UndoUnit.IOleParentUndoUnit.Close Method

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Private Function Close ( _
    parentUnit As IOleParentUndoUnit, _
    fCommit As Integer _
) As Integer Implements IOleParentUndoUnit.Close
'使用
Dim instance As OleUndoEngine..::.UndoUnit
Dim parentUnit As IOleParentUndoUnit
Dim fCommit As Integer
Dim returnValue As Integer

returnValue = CType(instance, IOleParentUndoUnit).Close(parentUnit, _
    fCommit)
int IOleParentUndoUnit.Close(
    IOleParentUndoUnit parentUnit,
    int fCommit
)
private:
virtual int Close(
    IOleParentUndoUnit^ parentUnit, 
    int fCommit
) sealed = IOleParentUndoUnit::Close
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IOleParentUndoUnit.Close(IOleParentUndoUnit, Int32)

Permissions

See Also

Reference

OleUndoEngine.UndoUnit Class

OleUndoEngine.UndoUnit Members

Microsoft.VisualStudio.Shell.Design Namespace