Add()
Contents
[
Hide
]XmlPreloadedResolver::Add(const SharedPtr<Uri>&, const ArrayPtr<uint8_t>&) method
Adds a byte array to the XmlPreloadedResolver store and maps it to a URI. If the store already contains a mapping for the same URI, the existing mapping is overridden.
void System::Xml::Resolvers::XmlPreloadedResolver::Add(const SharedPtr<Uri> &uri, const ArrayPtr<uint8_t> &value)
Arguments
Parameter | Type | Description |
---|---|---|
uri | const SharedPtr<Uri>& | The URI of the data that is being added to the XmlPreloadedResolver store. |
value | const ArrayPtr<uint8_t>& | A byte array with the data that corresponds to the provided URI. |
XmlPreloadedResolver::Add(const SharedPtr<Uri>&, const ArrayPtr<uint8_t>&, int32_t, int32_t) method
Adds a byte array to the XmlPreloadedResolver store and maps it to a URI. If the store already contains a mapping for the same URI, the existing mapping is overridden.
void System::Xml::Resolvers::XmlPreloadedResolver::Add(const SharedPtr<Uri> &uri, const ArrayPtr<uint8_t> &value, int32_t offset, int32_t count)
Arguments
Parameter | Type | Description |
---|---|---|
uri | const SharedPtr<Uri>& | The URI of the data that is being added to the XmlPreloadedResolver store. |
value | const ArrayPtr<uint8_t>& | A byte array with the data that corresponds to the provided URI. |
offset | int32_t | The offset in the provided byte array where the data starts. |
count | int32_t | The number of bytes to read from the byte array, starting at the provided offset. |
XmlPreloadedResolver::Add(const SharedPtr<Uri>&, const SharedPtr<IO::Stream>&) method
Adds a Stream to the XmlPreloadedResolver store and maps it to a URI. If the store already contains a mapping for the same URI, the existing mapping is overridden.
void System::Xml::Resolvers::XmlPreloadedResolver::Add(const SharedPtr<Uri> &uri, const SharedPtr<IO::Stream> &value)
Arguments
Parameter | Type | Description |
---|---|---|
uri | const SharedPtr<Uri>& | The URI of the data that is being added to the XmlPreloadedResolver store. |
value | const SharedPtr<IO::Stream>& | A Stream with the data that corresponds to the provided URI. |
XmlPreloadedResolver::Add(const SharedPtr<Uri>&, const String&) method
Adds a string with preloaded data to the XmlPreloadedResolver store and maps it to a URI. If the store already contains a mapping for the same URI, the existing mapping is overridden.
void System::Xml::Resolvers::XmlPreloadedResolver::Add(const SharedPtr<Uri> &uri, const String &value)
Arguments
Parameter | Type | Description |
---|---|---|
uri | const SharedPtr<Uri>& | The URI of the data that is being added to the XmlPreloadedResolver store. |
value | const String& | A String with the data that corresponds to the provided URI. |
See Also
- Typedef SharedPtr
- Typedef ArrayPtr
- Class Uri
- Class XmlPreloadedResolver
- Class Stream
- Class String
- Namespace System::Xml::Resolvers
- Library Aspose.Slides