Compartir a través de


KnownControls.IsKnown Method (String)

Checks whether the specified control name is associated with any accessible element.

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

Usage

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

returnValue = instance.IsKnown(controlName)

Syntax

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

Parameters

  • controlName
    Specifies the control name.

Return Value

Type: Boolean
True if the control name is associated with any accessible element, otherwise false.

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

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

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