Animatable.ShouldSerializeStoredWeakReference(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- target
- DependencyObject
Represents an object that participates in the dependency property system.
Returns
true
to serialize target
; otherwise, false
. The default is false
.
Remarks
The TypeDescriptor class uses the ShouldSerializeStoredWeakReference method to determine if a property should be serialized.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.