共用方式為


AutomationPeer.RaisePropertyChangedEvent 方法

定義

引發事件,通知自動化用戶端已變更屬性值。

public:
 virtual void RaisePropertyChangedEvent(AutomationProperty ^ automationProperty, Platform::Object ^ oldValue, Platform::Object ^ newValue) = RaisePropertyChangedEvent;
void RaisePropertyChangedEvent(AutomationProperty const& automationProperty, IInspectable const& oldValue, IInspectable const& newValue);
public void RaisePropertyChangedEvent(AutomationProperty automationProperty, object oldValue, object newValue);
function raisePropertyChangedEvent(automationProperty, oldValue, newValue)
Public Sub RaisePropertyChangedEvent (automationProperty As AutomationProperty, oldValue As Object, newValue As Object)

參數

automationProperty
AutomationProperty

已變更的屬性。

oldValue
Object

Platform::Object

IInspectable

屬性的舊值。

newValue
Object

Platform::Object

IInspectable

屬性的新值。

適用於