Compartir a través de


KnownControls.GetControlName Method (String)

Gets the associated control name of the specified automation element, 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 automationId As String
Dim returnValue As String

returnValue = instance.GetControlName(automationId)

Syntax

'Declaration
Public Function GetControlName ( _
    automationId As String _
) As String
public string GetControlName (
    string automationId
)
public:
String^ GetControlName (
    String^ automationId
)
public String GetControlName (
    String automationId
)
public function GetControlName (
    automationId : String
) : String

Parameters

  • automationId
    Specifies the automation 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.