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
- parentUnit
Type: Microsoft.VisualStudio.OLE.Interop.IOleParentUndoUnit
- fCommit
Type: System.Int32
Return Value
Type: System.Int32
Implements
IOleParentUndoUnit.Close(IOleParentUndoUnit, Int32)
Permissions
- 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.