共用方式為


AutomationProperties.GetLiveSetting(DependencyObject) 方法

定義

取得所指定 LiveSettingDependencyObject 附加屬性。

public:
 static System::Windows::Automation::AutomationLiveSetting GetLiveSetting(System::Windows::DependencyObject ^ element);
public static System.Windows.Automation.AutomationLiveSetting GetLiveSetting (System.Windows.DependencyObject element);
static member GetLiveSetting : System.Windows.DependencyObject -> System.Windows.Automation.AutomationLiveSetting
Public Shared Function GetLiveSetting (element As DependencyObject) As AutomationLiveSetting

參數

element
DependencyObject

要進行檢查的 DependencyObject

傳回

AutomationLiveSettingelement

例外狀況

elementnull

適用於

另請參閱