SimpleEditorView::Exec Method (Guid, UInt32, UInt32, IntPtr, IntPtr)
Visual Studio 2015
Executes the specified command.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
public: virtual int Exec( Guid% guidCmdGroup, unsigned int id, unsigned int options, IntPtr pvaIn, IntPtr pvaOut )
Parameters
- guidCmdGroup
-
Type:
System::Guid
The GUID of the command group.
- id
-
Type:
System::UInt32
The ID of the command.
- options
-
Type:
System::UInt32
An OLECMDEXECOPT enumeration giving command options.
- pvaIn
-
Type:
System::IntPtr
Pointer to a VARIANTARG structure containing input arguments. Can be null.
- pvaOut
-
Type:
System::IntPtr
Pointer to a VARIANTARG structure containing command output. Can be null.
Return Value
Type: System::Int32S_OK if the command is supported and it succeeded; F:Microsoft.VisualStudio.OLE.Interop.OleConstants.OLECMDERR_E_NOTSUPPORTED if the command is not supported; or an error code if the command failed.
Show: