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