IAutomationPropertiesStatics9.SetControlType 方法

定义

public:
 void SetControlType(UIElement ^ element, AutomationControlType value);
void SetControlType(UIElement const& element, AutomationControlType const& value);
public void SetControlType(UIElement element, AutomationControlType value);
Public Sub SetControlType (element As UIElement, value As AutomationControlType)

参数

element
UIElement

适用于