Freigeben über


OleCommandExecutionArgs Class

Definition

Encapsulates nCmdexecopt, pvaIn and pvaOut arguments passed to Exec(Guid, UInt32, UInt32, IntPtr, IntPtr).

public ref class OleCommandExecutionArgs sealed
public sealed class OleCommandExecutionArgs
type OleCommandExecutionArgs = class
Public NotInheritable Class OleCommandExecutionArgs
Inheritance
OleCommandExecutionArgs

Remarks

This allows command handlers (when running in Visual Studio) access raw Visual Studio command input:

commandExecutionContext.Properties.TryGetProperty(typeof(OleCommandExecutionArgs), out OleCommandExecutionArgs vsInputArgs)

Constructors

OleCommandExecutionArgs(Guid, UInt32, UInt32, IntPtr, IntPtr)
OleCommandExecutionArgs(UInt32, IntPtr, IntPtr)

Properties

CmdExecOpt

nCmdexecopt parameter of the Exec(Guid, UInt32, UInt32, IntPtr, IntPtr).

NCmdID

nCmdID parameter of the Exec(Guid, UInt32, UInt32, IntPtr, IntPtr).

PguidCmdGroup

pguidCmdGroup parameter of the Exec(Guid, UInt32, UInt32, IntPtr, IntPtr).

PVaIn

pvaIn parameter of the Exec(Guid, UInt32, UInt32, IntPtr, IntPtr).

PVaOut

pvaOut parameter of the Exec(Guid, UInt32, UInt32, IntPtr, IntPtr).

Applies to