ChangeType()
Contents
[
Hide
]XmlSchemaDatatype::ChangeType(SharedPtr<Object>, const TypeInfo&) method
Converts the value specified, whose type is one of the valid representations of the XML schema type represented by the XmlSchemaDatatype, to the run-time type specified.
virtual SharedPtr<Object> System::Xml::Schema::XmlSchemaDatatype::ChangeType(SharedPtr<Object> value, const TypeInfo &targetType)
Arguments
Parameter | Type | Description |
---|---|---|
value | SharedPtr<Object> | The input value to convert to the specified type. |
targetType | const TypeInfo& | The target type to convert the input value to. |
Return Value
The converted input value.
XmlSchemaDatatype::ChangeType(SharedPtr<Object>, const TypeInfo&, SharedPtr<IXmlNamespaceResolver>) method
Converts the value specified, whose type is one of the valid representations of the XML schema type represented by the XmlSchemaDatatype, to the run-time type specified using the IXmlNamespaceResolver if the XmlSchemaDatatype represents the xs:QName type or a type derived from it.
virtual SharedPtr<Object> System::Xml::Schema::XmlSchemaDatatype::ChangeType(SharedPtr<Object> value, const TypeInfo &targetType, SharedPtr<IXmlNamespaceResolver> namespaceResolver)
Arguments
Parameter | Type | Description |
---|---|---|
value | SharedPtr<Object> | The input value to convert to the specified type. |
targetType | const TypeInfo& | The target type to convert the input value to. |
namespaceResolver | SharedPtr<IXmlNamespaceResolver> | An IXmlNamespaceResolver used for resolving namespace prefixes. This is only of use if the XmlSchemaDatatype represents the xs:QName type or a type derived from it. |
Return Value
The converted input value.
See Also
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class XmlSchemaDatatype
- Class IXmlNamespaceResolver
- Namespace System::Xml::Schema
- Library Aspose.Slides