Partilhar via


_dispCommandEvents.BeforeExecute Method

Definition

Microsoft Internal Use Only.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void BeforeExecute(System::String ^ Guid, int ID, System::Object ^ CustomIn, System::Object ^ CustomOut, [Runtime::InteropServices::Out] bool % CancelDefault);
void BeforeExecute(std::wstring const & Guid, int ID, winrt::Windows::Foundation::IInspectable const & CustomIn, winrt::Windows::Foundation::IInspectable const & CustomOut, [Runtime::InteropServices::Out] bool & CancelDefault);
[System.Runtime.InteropServices.DispId(1)]
public void BeforeExecute (string Guid, int ID, object CustomIn, object CustomOut, out bool CancelDefault);
[<System.Runtime.InteropServices.DispId(1)>]
abstract member BeforeExecute : string * int * obj * obj * bool -> unit
Public Sub BeforeExecute (Guid As String, ID As Integer, CustomIn As Object, CustomOut As Object, ByRef CancelDefault As Boolean)

Parameters

Guid
String

The GUID.

ID
Int32

The ID.

CustomIn
Object

Custom input parameters.

CustomOut
Object

Custom output parameters.

CancelDefault
Boolean

Whether or not to cancel.

Attributes

Applies to