ParseValue()

XmlSchemaDatatype::ParseValue(String, SharedPtr<XmlNameTable>, SharedPtr<IXmlNamespaceResolver>) method

When overridden in a derived class, validates the string specified against a built-in or user-defined simple type.

virtual SharedPtr<Object> System::Xml::Schema::XmlSchemaDatatype::ParseValue(String s, SharedPtr<XmlNameTable> nameTable, SharedPtr<IXmlNamespaceResolver> nsmgr)=0

Arguments

ParameterTypeDescription
sStringThe string to validate against the simple type.
nameTableSharedPtr<XmlNameTable>The XmlNameTable to use for atomization while parsing the string if this XmlSchemaDatatype object represents the xs:NCName type.
nsmgrSharedPtr<IXmlNamespaceResolver>The IXmlNamespaceResolver object to use while parsing the string if this XmlSchemaDatatype object represents the xs:QName type.

Return Value

An Object that can be cast safely to the type returned by the XmlSchemaDatatype::get_ValueType call.

See Also