共用方式為


UITechnologyManager.GetControlSupportLevel Method

Definition

Overloads

GetControlSupportLevel(IntPtr)

Returns the indication of confidence for this technology manager that it can support the control that is identified with the provided handle.

GetControlSupportLevel(AutomationElement)

GetControlSupportLevel(IntPtr)

Returns the indication of confidence for this technology manager that it can support the control that is identified with the provided handle.

public:
 abstract int GetControlSupportLevel(IntPtr windowHandle);
public abstract int GetControlSupportLevel (IntPtr windowHandle);
abstract member GetControlSupportLevel : nativeint -> int
Public MustOverride Function GetControlSupportLevel (windowHandle As IntPtr) As Integer

Parameters

windowHandle
IntPtr

nativeint

The window handle for a specific element.

Returns

An int that indicates the level of support.

Implements

Applies to

GetControlSupportLevel(AutomationElement)

public:
 virtual int GetControlSupportLevel(System::Windows::Automation::AutomationElement ^ element);
public virtual int GetControlSupportLevel (System.Windows.Automation.AutomationElement element);
abstract member GetControlSupportLevel : System.Windows.Automation.AutomationElement -> int
override this.GetControlSupportLevel : System.Windows.Automation.AutomationElement -> int
Public Overridable Function GetControlSupportLevel (element As AutomationElement) As Integer

Parameters

Returns

Applies to