NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TemplatedControlDesigner.Exec

Executes a command verb.

[Visual Basic]
Overrides Public Function Exec( _
   ByRef pguidCmdGroup As Guid, _
   ByVal nCmdID As Integer, _
   ByVal nCmdexecopt As Integer, _
   ByVal pvaIn() As Object, _
   ByVal pvaOut As Integer _
) As Integer
[C#]
public override int Exec(
   ref Guid pguidCmdGroup,
   int nCmdID,
   int nCmdexecopt,
   object[] pvaIn,
   int pvaOut
);
[C++]
public: override int Exec(
   Guid** pguidCmdGroup,
   int nCmdID,
   int nCmdexecopt,
   Object* pvaIn[],
   int pvaOut
);
[JScript]
public override function Exec(
   pguidCmdGroup : Guid,
   nCmdID : int,
   nCmdexecopt : int,
   pvaIn : Object[],
   pvaOut : int
) : int;

Parameters

pguidCmdGroup
The GUID of the command group.
nCmdID
The CommandID to execute.
nCmdexecopt
The command execution option.
pvaIn
The command parameters.
pvaOut
[To be supplied.]

Remarks

This method is called by the VS shell.

See Also

TemplatedControlDesigner Class | TemplatedControlDesigner Members | System.Web.UI.Design Namespace | CommandID | IMenuCommandService | MenuCommand