Add()
Contents
[
Hide
]ICustomXmlPartCollection::Add(System::ArrayPtr<uint8_t>) method
Adds new custom xml part.
virtual System::SharedPtr<ICustomXmlPart> Aspose::Slides::ICustomXmlPartCollection::Add(System::ArrayPtr<uint8_t> xmlData)=0
Arguments
| Parameter | Type | Description |
|---|---|---|
| xmlData | System::ArrayPtr<uint8_t> | The xml data of new part to be added. |
Return Value
Created custom xml part.
Exceptions
| Exception | Description |
|---|---|
| System::ArgumentNullException | xmlData is null. |
| System::ArgumentException | xmlData is empty or invalid. |
ICustomXmlPartCollection::Add(System::String) method
Adds new custom xml part.
virtual System::SharedPtr<ICustomXmlPart> Aspose::Slides::ICustomXmlPartCollection::Add(System::String xmlString)=0
Arguments
| Parameter | Type | Description |
|---|---|---|
| xmlString | System::String | The xml string of new part to be added. |
Return Value
Created custom xml part.
Exceptions
| Exception | Description |
|---|---|
| System::ArgumentNullException | xmlString is null. |
| System::ArgumentException | xmlString is empty or xml-data is invalid. |
ICustomXmlPartCollection::Add(System::SharedPtr<System::IO::Stream>) method
Adds new custom xml part.
virtual System::SharedPtr<ICustomXmlPart> Aspose::Slides::ICustomXmlPartCollection::Add(System::SharedPtr<System::IO::Stream> inputStream)=0
Arguments
| Parameter | Type | Description |
|---|---|---|
| inputStream | System::SharedPtr<System::IO::Stream> | The inputStream with xml data of new part to be added. |
Return Value
Created custom xml part.
Exceptions
| Exception | Description |
|---|---|
| System::ArgumentNullException | inputStream is null. |
| System::ArgumentException | Data in inputStream is empty or Sinvalid. |
See Also
- Typedef SharedPtr
- Typedef ArrayPtr
- Class ICustomXmlPart
- Class ICustomXmlPartCollection
- Class String
- Class Stream
- Namespace Aspose::Slides
- Library Aspose.Slides