DependencyPropertyDescriptor.ShouldSerializeValue(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示此屬性的值是否需要由序列化程序持續保存。
public:
override bool ShouldSerializeValue(System::Object ^ component);
public override bool ShouldSerializeValue(object component);
override this.ShouldSerializeValue : obj -> bool
Public Overrides Function ShouldSerializeValue (component As Object) As Boolean
參數
- component
- Object
包含該性質的元件,需檢視其持續性。
傳回
true若該性質應被保留;否則,。 false