DependencyPropertyDescriptor::ShouldSerializeValue Method (Object^)

 

Indicates whether the value of this property needs to be persisted by serialization processes.

Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

public:
virtual bool ShouldSerializeValue(
	Object^ component
) override

Parameters

component
Type: System::Object^

The component with the property to be examined for persistence.

Return Value

Type: System::Boolean

true if the property should be persisted; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: