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

返回

AutomationLiveSetting

AutomationLiveSettingelement

例外

elementnull

适用于

另请参阅