WCF-Xtensions Class Reference for .NET
ShouldSerializeValue Method (JPropertyDescriptor)






The component with the property to be examined for persistence.
When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
Syntax
public override System.bool ShouldSerializeValue( 
   System.object component
)
public function ShouldSerializeValue( 
    component: System.TObject
): System.Boolean; override; 
public override function ShouldSerializeValue( 
   component : System.Object
) : System.boolean;
public: System.bool ShouldSerializeValue( 
   System.Object* component
) override 
public:
System.bool ShouldSerializeValue( 
   System.Object^ component
) override 
'Declaration
 
Public Overrides Function ShouldSerializeValue( _
   ByVal component 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.
Requirements

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

See Also

Reference

JPropertyDescriptor Class
JPropertyDescriptor Members
Base Implementation in ShouldSerializeValue

Send Feedback