com.aspose.slides
Class NamedSlideShowCollection

java.lang.Object
  extended by com.aspose.slides.NamedSlideShowCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<NamedSlideShow>, com.aspose.ms.System.Collections.IEnumerable<NamedSlideShow>, java.lang.Iterable<NamedSlideShow>

public final class NamedSlideShowCollection
extends java.lang.Object
implements com.aspose.ms.System.Collections.ICollection<NamedSlideShow>

Represents a key-value collection of NamedSlideShow objects.


Method Summary
 NamedSlideShow add(java.lang.String name)
           Creates new slide show element and adds it to the end of collection.
 void copyTo(java.lang.Object[] array, int index)
           Copies all elements from the collection into the specified array.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 boolean isSynchronized()
           Returns a value indicating whether access to the collection is synchronized (thread-safe).
 com.aspose.ms.System.Collections.IEnumerator<NamedSlideShow> iterator()
           Returns an enumerator for the entire collection.
 void remove(java.lang.String name)
           Removes slideshow from collection.
 int size()
           Returns a number of elements in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public NamedSlideShow add(java.lang.String name)

Creates new slide show element and adds it to the end of collection.

Parameters:
name - Name for new slide show.
Returns:
Created slide show.

remove

public void remove(java.lang.String name)

Removes slideshow from collection.

Parameters:
name - Name of slideshow to remove.

copyTo

public void copyTo(java.lang.Object[] array,
                   int index)

Copies all elements from the collection into the specified array.

Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection<NamedSlideShow>
Parameters:
array - Array to fill.
index - Starting position in target array.

size

public int size()

Returns a number of elements in the collection. Readonly int.

Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<NamedSlideShow>

isSynchronized

public boolean isSynchronized()

Returns a value indicating whether access to the collection is synchronized (thread-safe).

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<NamedSlideShow>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<NamedSlideShow>

iterator

public com.aspose.ms.System.Collections.IEnumerator<NamedSlideShow> iterator()

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<NamedSlideShow>
Specified by:
iterator in interface java.lang.Iterable<NamedSlideShow>