語言

AutomationProperties.SetLiveSetting 方法

定義

設定 LiveSetting 指定 DependencyObject的附加屬性。

public:
 static void SetLiveSetting(System::Windows::DependencyObject ^ element, System::Windows::Automation::AutomationLiveSetting value);
public static void SetLiveSetting(System.Windows.DependencyObject element, System.Windows.Automation.AutomationLiveSetting value);
static member SetLiveSetting : System.Windows.DependencyObject * System.Windows.Automation.AutomationLiveSetting -> unit
Public Shared Sub SetLiveSetting (element As DependencyObject, value As AutomationLiveSetting)

參數

element
DependencyObject

去 DependencyObject 檢查一下。

value
AutomationLiveSetting

要賦予該物業的價值。

適用於

另請參閱