UndoManager.Exec Method

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public Function Exec ( _
    ByRef cmdGroup As Guid, _
    cmdId As UInteger, _
    cmdExecOptions As UInteger, _
    inValue As IntPtr, _
    outValue As IntPtr _
) As Integer
'使用
Dim instance As UndoManager
Dim cmdGroup As Guid
Dim cmdId As UInteger
Dim cmdExecOptions As UInteger
Dim inValue As IntPtr
Dim outValue As IntPtr
Dim returnValue As Integer

returnValue = instance.Exec(cmdGroup, _
    cmdId, cmdExecOptions, inValue, outValue)
public int Exec(
    ref Guid cmdGroup,
    uint cmdId,
    uint cmdExecOptions,
    IntPtr inValue,
    IntPtr outValue
)
public:
virtual int Exec(
    Guid% cmdGroup, 
    unsigned int cmdId, 
    unsigned int cmdExecOptions, 
    IntPtr inValue, 
    IntPtr outValue
) sealed
public final function Exec(
    cmdGroup : Guid, 
    cmdId : uint, 
    cmdExecOptions : uint, 
    inValue : IntPtr, 
    outValue : IntPtr
) : int

Parameters

Return Value

Type: System.Int32

Implements

IOleCommandTarget.Exec(Guid%, UInt32, UInt32, IntPtr, IntPtr)

Permissions

See Also

Reference

UndoManager Class

UndoManager Members

Microsoft.VisualStudio.Modeling.Shell Namespace