Binding.ShouldSerializeSource メソッド
定義
public:
bool ShouldSerializeSource();
public bool ShouldSerializeSource ();
member this.ShouldSerializeSource : unit -> bool
Public Function ShouldSerializeSource () As Boolean
戻り値
プロパティの値が既定値から変更されている場合は true
。それ以外の場合は false
。true
if the property value has changed from its default; otherwise, false
.
注釈
この ShouldSerialize
メソッドは、プロパティに Source 単純な既定値がないために用意されています。This ShouldSerialize
method is provided because the Source property does not have a simple default value. このメソッドは、プロパティが既定値から変更されたかどうかを示します。This method indicates whether the property has changed from its default value. のデザイナーを開発している場合、 Binding またはを組み込んだ独自のコントロールを開発している場合は、通常、このメソッドを呼び出し Binding ます。You typically invoke this method if you are either developing a designer for the Binding or developing your own control incorporating the Binding.