Udostępnij za pośrednictwem


WinDataDrivenAdapter.OperationHandler Method

Calls to the WinDataDrivenAdapter API to manipulate the user interface (UI) are dispatched to this handler.

Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)

Usage

'Usage
Dim op As OperationType
Dim controlName As String
Dim controlValue As String
Dim data As String
Dim returnValue As String

returnValue = Me.OperationHandler(op, controlName, controlValue, data)

Syntax

'Declaration
Protected Overrides Function OperationHandler ( _
    op As OperationType, _
    controlName As String, _
    controlValue As String, _
    data As String _
) As String
protected override string OperationHandler (
    OperationType op,
    string controlName,
    string controlValue,
    string data
)
protected:
virtual String^ OperationHandler (
    OperationType op, 
    String^ controlName, 
    String^ controlValue, 
    String^ data
) override
protected String OperationHandler (
    OperationType op, 
    String controlName, 
    String controlValue, 
    String data
)
protected override function OperationHandler (
    op : OperationType, 
    controlName : String, 
    controlValue : String, 
    data : String
) : String

Parameters

  • op
    Specifies the type of the operation to be performed on the control.
  • controlName
    Specifies the name of the control.
  • controlValue
    Specifies the value to be assigned to the control.
  • data
    Specifies the value used to customize the operations of the control.

Return Value

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

Exceptions

Exception type Condition
DataDrivenAdapterException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

WinDataDrivenAdapter Class
WinDataDrivenAdapter Members
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.