Export (0) Print
Expand All

ReferenceContainerNode.ExecCommandOnNode Method

Visual Studio 2005

This method handles the supplied commands for this node.

This method is not CLS-compliant.  

Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in mpf.project.nonshipping.dll)

protected override int ExecCommandOnNode (
	Guid guidCmdGroup,
	uint cmd,
	uint nCmdexecopt,
	IntPtr pvaIn,
	IntPtr pvaOut
)
protected int ExecCommandOnNode (
	Guid guidCmdGroup, 
	UInt32 cmd, 
	UInt32 nCmdexecopt, 
	IntPtr pvaIn, 
	IntPtr pvaOut
)
protected override function ExecCommandOnNode (
	guidCmdGroup : Guid, 
	cmd : uint, 
	nCmdexecopt : uint, 
	pvaIn : IntPtr, 
	pvaOut : IntPtr
) : int

Parameters

guidCmdGroup

The GUID of the command group.

cmd

The ID of the command.

nCmdexecopt

Values taken from the OLECMDEXECOPT enumeration, which describe how the object should execute the command.

pvaIn

Pointer to a VARIANTARG structure containing input arguments. Can be a null reference (Nothing in Visual Basic).

pvaOut

Pointer to a VARIANTARG structure containing command output. Can be a null reference (Nothing in Visual Basic).

Return Value

OLECMDERR_E_NOTSUPPORTED if the project manager is closed, or if the command is not supported. Otherwise, S_OK or an error code if one of the executed commands returned an error code.

Community Additions

ADD
Show:
© 2015 Microsoft