KnownControls.GetControlName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetControlName(String) |
Gets the associated control name of the specified automation element, if previously registered. |
GetControlName(IAccessible, Int32) |
Gets the associated control name of the specified IAccessible, if previously registered. |
GetControlName(String)
Gets the associated control name of the specified automation element, if previously registered.
public:
System::String ^ GetControlName(System::String ^ automationId);
public string GetControlName (string automationId);
member this.GetControlName : string -> string
Public Function GetControlName (automationId As String) As String
Parameters
- automationId
- String
Specifies the automation ID.
Returns
Applies to
GetControlName(IAccessible, Int32)
Gets the associated control name of the specified IAccessible, if previously registered.
public:
System::String ^ GetControlName(Accessibility::IAccessible ^ accObj, int childId);
public string GetControlName (Accessibility.IAccessible accObj, int childId);
member this.GetControlName : Accessibility.IAccessible * int -> string
Public Function GetControlName (accObj As IAccessible, childId As Integer) As String
Parameters
- accObj
- IAccessible
Specifies the accessibility object.
- childId
- Int32
Specifies the child ID.