Modifier and Type | Method and Description |
---|---|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies options into array.
|
void |
deleteOption(String name)
Deletes option by its name.
|
Option |
get_Item(int index)
Gets option by index.
|
Option |
get_Item(String name)
Gets option by its name.
|
Option |
get(int index)
Gets option by index.
|
Option |
get(String name)
Gets option from colleciton by option name.
|
Object |
getSyncRoot()
Synchronization object of the collection.
|
boolean |
isSynchronized()
Returns true of object is synchronized.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Returns enumerator for options in collection.
|
int |
size()
Gets number of options.
|
public boolean isSynchronized()
Returns true of object is synchronized.
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection
public Object getSyncRoot()
Synchronization object of the collection.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection
public int size()
Gets number of options.
size
in interface com.aspose.ms.System.Collections.ICollection
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies options into array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection
array
- Array where options wil lbe copied.index
- Startign index in array.public com.aspose.ms.System.Collections.IEnumerator iterator()
Returns enumerator for options in collection.
public Option get(int index)
Gets option by index.
index
- Option index. Index should be in range [1..n] where n is options count.public Option get(String name)
Gets option from colleciton by option name.
name
- Option name.public Option get_Item(int index)
Gets option by index.
index
- Index of the option.public Option get_Item(String name)
Gets option by its name.
name
- Name of the option.public void deleteOption(String name)
Deletes option by its name.
name
- Name of the option to delete.Copyright © 2017 Aspose. All Rights Reserved.