public class MetadataSignatureCollection extends Object implements com.aspose.ms.System.Collections.Generic.IGenericEnumerable<MetadataSignature>
Collection of Metadata Signatures objects.
Constructor and Description |
---|
MetadataSignatureCollection()
Creates Collection of Metadata Signatures.
|
Modifier and Type | Method and Description |
---|---|
void |
add(MetadataSignature signature)
Add Metadata Signature object to collection.
|
void |
addRange(MetadataSignature[] signatures)
Add Metadata Signature collection.
|
void |
clear()
Removes all items from the collection.
|
boolean |
contains(String name)
Returns true if a Metadata with the specified name exists in the collection.
|
Object |
deepClone()
Clone Metadata Signature Collection class with Metadata Signature Items.
|
MetadataSignature |
get_Item(int index)
Returns a MetadataSignature object by index.
|
MetadataSignature |
get_Item(String name)
Returns a MetadataSignature object by the name of the property.
|
int |
getCount()
Gets number of items in the collection.
|
protected List<MetadataSignature> |
getItemsList()
List of MetadataSignature.
|
protected Map<String,MetadataSignature> |
getItemsMap()
Dictionary of MetadataSignature with unique keys as Signature name.
|
int |
indexOf(String name)
Gets the index of a property by name.
|
boolean |
remove(String name)
Removes a Metadata Signature with the specified name from the collection.
|
boolean |
removeAt(int index)
Removes a Metadata Signature at the specified index.
|
public MetadataSignatureCollection()
Creates Collection of Metadata Signatures.
public final void add(MetadataSignature signature)
Add Metadata Signature object to collection.
signature
- Metadata signature to be added to collection.
public final void addRange(MetadataSignature[] signatures)
Add Metadata Signature collection.
signatures
- Collection of signatures to add.
public final void clear()
Removes all items from the collection.
public final boolean contains(String name)
Returns true if a Metadata with the specified name exists in the collection.
name
- The case-insensitive name of the property.public final Object deepClone()
Clone Metadata Signature Collection class with Metadata Signature Items.
public final MetadataSignature get_Item(int index)
Returns a MetadataSignature object by index.
index
- Zero-based index of the MetadataSignature to retrieve.
MetadataSignature
object by the index of collection.public final MetadataSignature get_Item(String name)
Returns a MetadataSignature object by the name of the property.
name
- The case-insensitive name of the property to retrieve.
MetadataSignature
object by the name of the property.public final int getCount()
Gets number of items in the collection.
protected final List<MetadataSignature> getItemsList()
List of MetadataSignature.
protected final Map<String,MetadataSignature> getItemsMap()
Dictionary of MetadataSignature with unique keys as Signature name.
public final int indexOf(String name)
Gets the index of a property by name.
name
- The case-insensitive name of the MetadataSignature.public final boolean remove(String name)
Removes a Metadata Signature with the specified name from the collection.
name
- The case-insensitive name of the Metadata Signature.public final boolean removeAt(int index)
Removes a Metadata Signature at the specified index.
index
- The zero based index.Copyright © 2019. All rights reserved.