Share via


DataDrivenAdapterBase.FindControl Method

Reports whether the named control is available for use.

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

Usage

'Usage
Dim instance As DataDrivenAdapterBase
Dim controlName As String
Dim returnValue As Boolean

returnValue = instance.FindControl(controlName)

Syntax

'Declaration
Public Function FindControl ( _
    controlName As String _
) As Boolean
public bool FindControl (
    string controlName
)
public:
bool FindControl (
    String^ controlName
)
public boolean FindControl (
    String controlName
)
public function FindControl (
    controlName : String
) : boolean

Parameters

  • controlName
    Specifies the name of the control.

Return Value

Type: Boolean
true if the control is available for use; otherwise, false.

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

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

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