Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Executes the specified command.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function Exec ( _
ByRef pguidCmdGroup As Guid, _
nCmdID As UInteger, _
nCmdexecopt As UInteger, _
ByRef pvaIn As Object, _
<OutAttribute> ByRef pvaOut As Object _
) As Integer
int Exec(
ref Guid pguidCmdGroup,
uint nCmdID,
uint nCmdexecopt,
ref Object pvaIn,
out Object pvaOut
)
int Exec(
[InAttribute] Guid% pguidCmdGroup,
[InAttribute] unsigned int nCmdID,
[InAttribute] unsigned int nCmdexecopt,
[InAttribute] Object^% pvaIn,
[InAttribute] [OutAttribute] Object^% pvaOut
)
abstract Exec :
pguidCmdGroup:Guid byref *
nCmdID:uint32 *
nCmdexecopt:uint32 *
pvaIn:Object byref *
pvaOut:Object byref -> int
function Exec(
pguidCmdGroup : Guid,
nCmdID : uint,
nCmdexecopt : uint,
pvaIn : Object,
pvaOut : Object
) : int
Parameters
pguidCmdGroup
Type: System.Guid%[in] The GUID of the command group.
nCmdID
Type: System.UInt32[in] The command ID.
nCmdexecopt
Type: System.UInt32[in] Specifies how the object should execute the command.
pvaIn
Type: System.Object%[in] The input arguments of the command.
pvaOut
Type: System.Object%[out] The output arguments of the command.
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.