Animatable.ShouldSerializeStoredWeakReference Method (DependencyObject)


This API supports the product infrastructure and is not intended to be used directly from your code.

Specifies whether a dependency object should be serialized.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

Public Shared Function ShouldSerializeStoredWeakReference (
	target As DependencyObject
) As Boolean


Type: System.Windows.DependencyObject

Represents an object that participates in the dependency property system.

Return Value

Type: System.Boolean

true to serialize target; otherwise, false. The default is false.

The TypeDescriptor class uses the ShouldSerializeStoredWeakReference method to determine if a property should be serialized.

.NET Framework
Available since 3.0
Return to top