A representation of the value to be embedded in an XML element
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides Function ToString ( _ val As Object _ ) As String |
C# |
---|
public override string ToString( Object val ) |
Visual C++ |
---|
public: virtual String^ ToString( Object^ val ) override |
JavaScript |
---|
function toString(val); |
Parameters
- val
- Type: System..::.Object
The object that contains the values.
Return Value
An Xml formatted string.
Remarks
This just calls ToString()()() so if there is
a possibility of this PrimitiveType having any characters
that need to be encoded then this method should be overridden.
TODO: figure out if this is used to build Xml strings or will have encoding
done automattically.