共用方式為


IOleParentUndoUnit.Close Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
Function Close ( _
    pPUU As IOleParentUndoUnit, _
    fCommit As Integer _
) As Integer
int Close(
    IOleParentUndoUnit pPUU,
    int fCommit
)

Parameters

Return Value

Type: System.Int32

Remarks

For information on the COM interface, see IOleParentUndoUnit::Close

.NET Framework Security

See Also

Reference

IOleParentUndoUnit Interface

Microsoft.VisualStudio.OLE.Interop Namespace