Udostępnij za pośrednictwem


JavaDataDrivenAdapter.FindAccObj Method

Finds the accessibility object using the control name.

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

Usage

'Usage
Dim controlName As String
Dim vmId As Integer
Dim throwExceptionIfNotFound As Boolean
Dim returnValue As IntPtr

returnValue = Me.FindAccObj(controlName, vmId, throwExceptionIfNotFound)

Syntax

'Declaration
Protected Function FindAccObj ( _
    controlName As String, _
    <OutAttribute> ByRef vmId As Integer, _
    throwExceptionIfNotFound As Boolean _
) As IntPtr
protected IntPtr FindAccObj (
    string controlName,
    out int vmId,
    bool throwExceptionIfNotFound
)
protected:
IntPtr FindAccObj (
    String^ controlName, 
    [OutAttribute] int% vmId, 
    bool throwExceptionIfNotFound
)
protected IntPtr FindAccObj (
    String controlName, 
    /** @attribute OutAttribute() */ /** @ref */ int vmId, 
    boolean throwExceptionIfNotFound
)

Parameters

  • controlName
    Specifies the name of the control.
  • vmId
    Specifies the Java virtual machine Id.
  • throwExceptionIfNotFound
    If TRUE, throws DataDrivenAdapterException if the control is not found.

Return Value

Accessibility object for a Control

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

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

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