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