KnownControls.UnregisterControl 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
| UnregisterControl(String) |
Disassociates all control names with the specified automation element identifier. |
| UnregisterControl(IAccessible, Int32) |
Disassociates all control names with the specified IAccessible, using the internal IAccessible identification scheme. |
UnregisterControl(String)
Disassociates all control names with the specified automation element identifier.
public:
void UnregisterControl(System::String ^ automationId);
public void UnregisterControl(string automationId);
member this.UnregisterControl : string -> unit
Public Sub UnregisterControl (automationId As String)
Parameters
- automationId
- String
Specifies the automation ID.
Applies to
UnregisterControl(IAccessible, Int32)
Disassociates all control names with the specified IAccessible, using the internal IAccessible identification scheme.
public:
void UnregisterControl(Accessibility::IAccessible ^ accObj, int childId);
public void UnregisterControl(Accessibility.IAccessible accObj, int childId);
member this.UnregisterControl : Accessibility.IAccessible * int -> unit
Public Sub UnregisterControl (accObj As IAccessible, childId As Integer)
Parameters
- accObj
- IAccessible
Specifies the accessibility object.
- childId
- Int32
Specifies the child ID.