RawValue property of type Object, and can safely be cast to the appropriate type.
Using NetServer web services, it depends on whether you are using SuperOffice proxies or not. If you are, the RawValue property contains the column value. If not, only the DisplayValue exists.
Except for string column values, DisplayValue always contains an encoded string that represents the column values. We recommend you use the SuperOffice.CRM.Globalization.CultureDataFormatter class to handle these encoded values. SuperOffice.CRM.Globalization.CultureDataFormatter easily parses and returns the column value in the correct data type.
An encoded value is always a string of characters in the format: [data-type-marker : value], for example, [I:3]. Columns that are of type string will never be in an encoded format.
The data type marker indicates the column data type followed by a colon, then the column data value. The following table lists all encodings.
For each data type,
CultureDataFormatter has a static Encode and ParseEncoded method, for example:
string = CultureDataFormatter.EncodeInt(int)int = CultureDataFormatter.ParseEncodedInt(string)