Share via


CommandBarFlyoutCommandBarAutomationProperties.SetControlType メソッド

定義

指定したオブジェクトのコントロールの種類を設定します。

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

パラメーター

element
UIElement

コントロールの種類を設定するオブジェクト。

value
AutomationControlType

指定したオブジェクトのコントロールの種類。

適用対象