System::Xml::Serialization::XmlSerializerNamespaces class
Contents
[
Hide
]XmlSerializerNamespaces class
Contains the XML namespaces and prefixes that the Serialization::XmlSerializer uses to generate qualified names in an XML-document instance.
class XmlSerializerNamespaces : public System::Object
Methods
Method | Description |
---|---|
Add(const String&, const String&) | Adds a prefix and namespace pair to an Serialization::XmlSerializerNamespaces object. |
get_Count() | Returns the number of prefix and namespace pairs in the collection. |
get_NamespaceList() | |
get_Namespaces() | |
set_Namespaces(const SharedPtr<Collections::Generic::Dictionary<String, String>>&) | |
ToArray() | Returns the array of prefix and namespace pairs in an Serialization::XmlSerializerNamespaces object. |
XmlSerializerNamespaces() | Initializes a new instance of the Serialization::XmlSerializerNamespaces class. |
XmlSerializerNamespaces(const SharedPtr<XmlSerializerNamespaces>&) | Initializes a new instance of the Serialization::XmlSerializerNamespaces class, using the specified instance of XmlSerializerNamespaces containing the collection of prefix and namespace pairs. |
XmlSerializerNamespaces(const ArrayPtr<SharedPtr<XmlQualifiedName>>&) | Initializes a new instance of the Serialization::XmlSerializerNamespaces class. |
Typedefs
Typedef | Description |
---|---|
Ptr | An alias for shared pointer to an instance of this class. |
Remarks
Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
See Also
- Class Object
- Namespace System::Xml::Serialization
- Library Aspose.PUB for C++