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

適用於