When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
public override System.bool ShouldSerializeValue(
System.object
)
public function ShouldSerializeValue(
: System.TObject
): System.Boolean; override;
public override function ShouldSerializeValue(
: System.Object
) : System.boolean;
public: System.bool ShouldSerializeValue(
System.Object*
) override
public:
System.bool ShouldSerializeValue(
System.Object^
) override
'Declaration
Public Overrides Function ShouldSerializeValue( _
ByVal As System.Object _
) As System.Boolean
'Usage
Dim instance As JPropertyDescriptor
Dim component As System.Object
Dim value As System.Boolean
value = instance.ShouldSerializeValue(component)
Parameters
- component
- The component with the property to be examined for persistence.
Return Value
true if the property should be persisted; otherwise, false.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
JPropertyDescriptor Class
JPropertyDescriptor Members
Base Implementation in ShouldSerializeValue