System::Xml::Schema::XmlSchemaObject class
Contents
[
Hide
]XmlSchemaObject class
Represents the root class for the Xml schema object model hierarchy and serves as a base class for classes such as the XmlSchema class.
class XmlSchemaObject : public System::Object
Methods
Method | Description |
---|---|
get_LineNumber() | Returns the line number in the file to which the schema element refers. |
get_LinePosition() | Returns the line position in the file to which the schema element refers. |
get_Namespaces() | Returns the XmlSerializerNamespaces to use with this schema object. |
get_Parent() | Returns the parent of this XmlSchemaObject. |
get_SourceUri() | Returns the source location for the file that loaded the schema. |
set_LineNumber(int32_t) | Sets the line number in the file to which the schema element refers. |
set_LinePosition(int32_t) | Sets the line position in the file to which the schema element refers. |
set_Namespaces(const SharedPtr<System::Xml::Serialization::XmlSerializerNamespaces>&) | Sets the XmlSerializerNamespaces to use with this schema object. |
set_Parent(const SharedPtr<XmlSchemaObject>&) | Sets the parent of this XmlSchemaObject. |
set_SourceUri(const String&) | Sets the source location for the file that loaded the schema. |
XmlSchemaObject() | Initializes a new instance of the XmlSchemaObject 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::Schema
- Library Aspose.PUB for C++