次の方法で共有


DataDrivenAdapterBase.OperationHandler Method

Definition

Overloads

OperationHandler(OperationType, String, String)

Calls to the DataDrivenAdapterBase API to manipulate the UI are dispatched to this handler. Override to implement custom behavior.

OperationHandler(OperationType, String, String, String)

Calls to the DataDrivenAdapterBaseAPI to manipulate the user interface (UI) are dispatched to this handler. Override to implement custom behavior.

OperationHandler(OperationType, String, String)

Calls to the DataDrivenAdapterBase API to manipulate the UI are dispatched to this handler. Override to implement custom behavior.

protected:
 virtual System::String ^ OperationHandler(Microsoft::Uii::HostedApplicationToolkit::DataDrivenAdapter::OperationType op, System::String ^ controlName, System::String ^ controlValue);
protected virtual string OperationHandler (Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.OperationType op, string controlName, string controlValue);
abstract member OperationHandler : Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.OperationType * string * string -> string
override this.OperationHandler : Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.OperationType * string * string -> string
Protected Overridable Function OperationHandler (op As OperationType, controlName As String, controlValue As String) As String

Parameters

op
OperationType

Specifies the type of the operation to be performed on the control.

controlName
String

Specifies the name of the control.

controlValue
String

Specifies the value to be assigned to the control.

Returns

Returns non-null for Find and Get OperationTypes, null for Set and Execute OperationTypes

Exceptions

Applies to

OperationHandler(OperationType, String, String, String)

Calls to the DataDrivenAdapterBaseAPI to manipulate the user interface (UI) are dispatched to this handler. Override to implement custom behavior.

protected:
 abstract System::String ^ OperationHandler(Microsoft::Uii::HostedApplicationToolkit::DataDrivenAdapter::OperationType op, System::String ^ controlName, System::String ^ controlValue, System::String ^ Data);
protected abstract string OperationHandler (Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.OperationType op, string controlName, string controlValue, string Data);
abstract member OperationHandler : Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.OperationType * string * string * string -> string
Protected MustOverride Function OperationHandler (op As OperationType, controlName As String, controlValue As String, Data As String) As String

Parameters

op
OperationType

Specifies the type of the operation to be performed on the control.

controlName
String

Specifies the name of the control.

controlValue
String

Specifies the value to be assigned to the control.

Data
String

Specifies the additional data to be passed for customizing the operation.

Returns

Returns non-null for Find and Get operation types, null for Set and Execute operation types.

Exceptions

Applies to