Share via


CommandBarFlyoutCommandBarAutomationProperties.GetControlType メソッド

定義

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

public:
 static AutomationControlType GetControlType(UIElement ^ element);
 static AutomationControlType GetControlType(UIElement const& element);
public static AutomationControlType GetControlType(UIElement element);
function getControlType(element)
Public Shared Function GetControlType (element As UIElement) As AutomationControlType

パラメーター

element
UIElement

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

戻り値

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

適用対象