Parse the XML representation of an instance
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides NotOverridable Function FromString ( _ xml As String _ ) As Object |
C# |
---|
public override sealed Object FromString( string xml ) |
Visual C++ |
---|
public: virtual Object^ FromString( String^ xml ) override sealed |
JavaScript |
---|
function fromString(xml); |
Parameters
- xml
- Type: System..::.String
Return Value
an instance of the typeImplements
IType..::.FromString(String)
Remarks
This implementation forwards the call to FromStringValue(String) if the parameter value is not empty.
It has been "sealed" because the Types inheriting from NullableType do not need and should not override this method. All of their implementation should be in FromStringValue(String).