public interface ICustomXmlPartCollection extends IGenericCollection<ICustomXmlPart>
Represents collection of custom xml parts.
| Modifier and Type | Method and Description |
|---|---|
ICustomXmlPart |
add(byte[] xmlData)
Adds new custom xml part.
|
ICustomXmlPart |
add(java.io.InputStream inputStream)
Adds new custom xml part.
|
ICustomXmlPart |
add(java.lang.String xmlString)
Adds new custom xml part.
|
void |
clear()
Removes all items from the collection.
|
ICustomXmlPart |
get_Item(int index)
Returns the element at the specified index.
|
boolean |
remove(ICustomXmlPart item)
Removes the first occurrence of a specific object from the collection.
|
void |
removeAt(int index)
Removes custom xml part at the specified index.
|
iteratorJavaiteratorICustomXmlPart get_Item(int index)
Returns the element at the specified index.
index - The zero-based index of the element to get.com.aspose.ms.System.ArgumentOutOfRangeException - index is less than 0.-or-index is equal to or greater than CountICustomXmlPart add(byte[] xmlData)
Adds new custom xml part.
xmlData - The xml data of new part to be added.com.aspose.ms.System.ArgumentNullException - xmlData is null.com.aspose.ms.System.ArgumentException - xmlData is empty or invalid.ICustomXmlPart add(java.lang.String xmlString)
Adds new custom xml part.
xmlString - The xml string of new part to be added.com.aspose.ms.System.ArgumentNullException - xmlString is null.com.aspose.ms.System.ArgumentException - xmlString is empty or xml-data is invalid.ICustomXmlPart add(java.io.InputStream inputStream)
Adds new custom xml part.
inputStream - The inputStream with xml data of new part to be added.com.aspose.ms.System.ArgumentNullException - inputStream is null.com.aspose.ms.System.ArgumentException - Data in inputStream is empty or invalid.void removeAt(int index)
Removes custom xml part at the specified index.
index - The zero-based index of the element to remove.com.aspose.ms.System.ArgumentOutOfRangeException - index is less than 0.-or-index is equal to or greater than Countboolean remove(ICustomXmlPart item)
Removes the first occurrence of a specific object from the collection.
item - The custom xml part to remove.com.aspose.ms.System.ArgumentNullException - item is null.void clear()
Removes all items from the collection.
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.