Selerix Developer Tools
ShouldSerializeBonus Method






Selerix.BusinessObjects Assembly > Selerix.BusinessObjects Namespace > Employment Class : ShouldSerializeBonus Method
A ShouldSerialize[Object] method (ShouldSerializeBonus) 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 ShouldSerializeBonus() As Boolean
'Usage
 
Dim instance As Employment
Dim value As Boolean
 
value = instance.ShouldSerializeBonus()
public virtual bool ShouldSerializeBonus()
public function ShouldSerializeBonus(): Boolean; virtual; 
public function ShouldSerializeBonus() : boolean;
public: virtual bool ShouldSerializeBonus(); 
public:
virtual bool ShouldSerializeBonus(); 

Return Value

bool true/false
See Also

Reference

Employment Class
Employment Members