Selerix Developer Tools
ShouldSerializeField Method (Script)






Selerix.BusinessObjects Assembly > Selerix.BusinessObjects Namespace > Script Class : ShouldSerializeField Method
A ShouldSerialize[Object] method (ShouldSerializeField) that returns true or false. XML serialization enables an object's public fields and properties to be saved and loaded to/from an XML file. Typically, XML serialization will be desired for an object that is not null or empty and has a value such as a string object or a list object that is not null and has at least one element.
Syntax
'Declaration
 
Public Overridable Function ShouldSerializeField() As Boolean
'Usage
 
Dim instance As Script
Dim value As Boolean
 
value = instance.ShouldSerializeField()
public virtual bool ShouldSerializeField()
public function ShouldSerializeField(): Boolean; virtual; 
public function ShouldSerializeField() : boolean;
public: virtual bool ShouldSerializeField(); 
public:
virtual bool ShouldSerializeField(); 

Return Value

bool true/false
See Also

Reference

Script Class
Script Members