Animatable.ShouldSerializeStoredWeakReference(DependencyObject) 方法
定义
指明是否应该序列化依赖项对象。Specifies whether a dependency object should be serialized.
public:
static bool ShouldSerializeStoredWeakReference(System::Windows::DependencyObject ^ target);
public static bool ShouldSerializeStoredWeakReference (System.Windows.DependencyObject target);
static member ShouldSerializeStoredWeakReference : System.Windows.DependencyObject -> bool
Public Shared Function ShouldSerializeStoredWeakReference (target As DependencyObject) As Boolean
参数
- target
- DependencyObject
表示参与依赖属性系统的对象。Represents an object that participates in the dependency property system.
返回
true
则系列化 target
;否则为 false
。true
to serialize target
; otherwise, false
. 默认为 false
。The default is false
.
注解
TypeDescriptor类使用 ShouldSerializeStoredWeakReference 方法来确定是否应序列化属性。The TypeDescriptor class uses the ShouldSerializeStoredWeakReference method to determine if a property should be serialized.