KnownControls.IsKnown 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
IsKnown(String) |
Checks whether the specified control name is associated with any accessible element. |
IsKnown(IAccessible, Int32) |
Checks whether the specified IAccessible is associated with a control name using the internal IAccessible identification scheme. |
IsKnown(String)
Checks whether the specified control name is associated with any accessible element.
public:
bool IsKnown(System::String ^ controlName);
public bool IsKnown (string controlName);
member this.IsKnown : string -> bool
Public Function IsKnown (controlName As String) As Boolean
Parameters
- controlName
- String
Specifies the control name.
Returns
True
if the control name is associated with any accessible element, otherwise false
.
Applies to
IsKnown(IAccessible, Int32)
Checks whether the specified IAccessible is associated with a control name using the internal IAccessible identification scheme.
public:
bool IsKnown(Accessibility::IAccessible ^ accObj, int childId);
public bool IsKnown (Accessibility.IAccessible accObj, int childId);
member this.IsKnown : Accessibility.IAccessible * int -> bool
Public Function IsKnown (accObj As IAccessible, childId As Integer) As Boolean
Parameters
- accObj
- IAccessible
Specifies the accessibility object.
- childId
- Int32
Specifies the child ID.
Returns
True
if the IAccessible is associated with a control name, otherwise false
.