BindingExpression.UpdateSource 方法

定義

將目前的綁定目標值傳送到綁OneWayToSource定來源屬性,或 bindings 中TwoWay

public:
 override void UpdateSource();
public override void UpdateSource();
override this.UpdateSource : unit -> unit
Public Overrides Sub UpdateSource ()

例外狀況

綁帶已經從目標身上脫落。

備註

當綁定 的 不是 ModeTwoWayOneWayToSource時,此方法不會有作用。

如果你 UpdateSourceTrigger 的綁定值設為 Explicit,你必須呼叫該 UpdateSource 方法,否則變更不會傳回原始碼。

適用於

另請參閱