Compartir a través de


IOleCommandTarget.Exec Method (Guid, UInt32, UInt32, Object[], Object[])

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Executes the specified command or displays help for the command.

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

int Exec(
    ref Guid pguidCmdGroup,
    uint nCmdID,
    uint nCmdExecOpt,
    object[] pvaIn,
    object[] pvaOut
)
Function Exec (
    ByRef pguidCmdGroup As Guid,
    nCmdID As UInteger,
    nCmdExecOpt As UInteger,
    pvaIn As Object(),
    pvaOut As Object()
) As Integer

Parameters

  • pguidCmdGroup
    Type: System.Guid

    Specifies the unique identifier of the command group; can be NULL to specify the standard group.

  • nCmdID
    Type: System.UInt32

    Specifies the command to be executed. This command must belong to the group specified with pguidCmdGroup

  • pvaIn
    Type: System.Object[]

    Specifies a pointer to a VARIANTARG structure containing input arguments. This parameter can be NULL.

  • pvaOut
    Type: System.Object[]

    Pointer to a VARIANTARG structure to receive command output. This parameter can be NULL.

Return Value

Type: System.Int32

Type: Int32

See Also

IOleCommandTarget Interface
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright