A representation of the value to be embedded in an XML element
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public override string ToString( Object val ) |
| Visual Basic |
|---|
Public Overrides Function ToString ( _ val As Object _ ) As String |
| Visual C++ |
|---|
public: virtual String^ ToString( Object^ val ) override |
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.