Compartir a través de


KnownControls.IsKnown Method (IAccessible, Int32)

Checks whether the specified IAccessible is associated with a control name using the internal IAccessible identification scheme.

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

Usage

'Usage
Dim instance As KnownControls
Dim accObj As IAccessible
Dim childId As Integer
Dim returnValue As Boolean

returnValue = instance.IsKnown(accObj, childId)

Syntax

'Declaration
Public Function IsKnown ( _
    accObj As IAccessible, _
    childId As Integer _
) As Boolean
public bool IsKnown (
    IAccessible accObj,
    int childId
)
public:
bool IsKnown (
    IAccessible^ accObj, 
    int childId
)
public boolean IsKnown (
    IAccessible accObj, 
    int childId
)
public function IsKnown (
    accObj : IAccessible, 
    childId : int
) : boolean

Parameters

  • accObj
    Specifies the accessibility object.
  • childId
    Specifies the child ID.

Return Value

Type: Boolean
True if the IAccessible is associated with a control name, 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.