ValueAs()
XmlAtomicValue::ValueAs(const TypeInfo&, SharedPtr<IXmlNamespaceResolver>) method
Returns the validated XML element or attribute’s value as the type specified using the IXmlNamespaceResolver object specified to resolve namespace prefixes.
SharedPtr<Object> System::Xml::Schema::XmlAtomicValue::ValueAs(const TypeInfo &type, SharedPtr<IXmlNamespaceResolver> nsResolver) override
Arguments
Parameter | Type | Description |
---|---|---|
type | const TypeInfo& | The type to return the validated XML element or attribute’s value as. |
nsResolver | SharedPtr<IXmlNamespaceResolver> | The IXmlNamespaceResolver object used to resolve namespace prefixes. |
Return Value
The value of the validated XML element or attribute as the type requested.
See Also
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class IXmlNamespaceResolver
- Class XmlAtomicValue
- Namespace System::Xml::Schema
- Library Aspose.Slides