AutomationProperties.GetItemStatus(DependencyObject) 方法

定義

取得指定DependencyObjectAutomationProperties.ItemStatus附加屬性的值。

public:
 static Platform::String ^ GetItemStatus(DependencyObject ^ element);
 static winrt::hstring GetItemStatus(DependencyObject const& element);
public static string GetItemStatus(DependencyObject element);
function getItemStatus(element)
Public Shared Function GetItemStatus (element As DependencyObject) As String

參數

element
DependencyObject

要檢查 的 DependencyObject

傳回

String

Platform::String

winrt::hstring

專案的專案狀態。

適用於

另請參閱