語言

KeyTipService.GetKeyTip(DependencyObject) 方法

定義

回傳指定元素附加屬性的值 KeyTip 。

public:
 static System::String ^ GetKeyTip(System::Windows::DependencyObject ^ element);
public static string GetKeyTip(System.Windows.DependencyObject element);
static member GetKeyTip : System.Windows.DependencyObject -> string
Public Shared Function GetKeyTip (element As DependencyObject) As String

參數

element
DependencyObject

讀取屬性值的物件。

傳回

物件 KeyTip 的屬性價值。

例外狀況

指定的 element 為 null。

適用於