Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Animatable.ShouldSerializeStoredWeakReference Method (DependencyObject)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 static bool ShouldSerializeStoredWeakReference(
	DependencyObject target
)

Parameters

target
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
Show:
© 2018 Microsoft