Compartir a través de


KnownControls.GetControlName Method (IAccessible, Int32)

Gets the associated control name of the specified IAccessible, if previously registered.

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 String

returnValue = instance.GetControlName(accObj, childId)

Syntax

'Declaration
Public Function GetControlName ( _
    accObj As IAccessible, _
    childId As Integer _
) As String
public string GetControlName (
    IAccessible accObj,
    int childId
)
public:
String^ GetControlName (
    IAccessible^ accObj, 
    int childId
)
public String GetControlName (
    IAccessible accObj, 
    int childId
)
public function GetControlName (
    accObj : IAccessible, 
    childId : int
) : String

Parameters

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

Return Value

Type: String

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.