Selerix Developer Tools
ShouldSerializeLocations Method






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

Return Value

bool true/false
See Also

Reference

Portfolio Class
Portfolio Members