A ShouldSerialize[Object] method (ShouldSerializeInsureds) 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 ShouldSerializeInsureds() As Boolean
'Usage
Dim instance As Rider
Dim value As Boolean
value = instance.ShouldSerializeInsureds()
public virtual bool ShouldSerializeInsureds()
public function ShouldSerializeInsureds(): Boolean; virtual;
public function ShouldSerializeInsureds() : boolean;
public: virtual bool ShouldSerializeInsureds();
public:
virtual bool ShouldSerializeInsureds();
Return Value
bool true/false
See Also