Selerix Developer Tools
ShouldSerializeID Method (AbstractModelObject)






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

Return Value

bool true/false
See Also

Reference

AbstractModelObject Class
AbstractModelObject Members