com.aspose.slides
Class CommentCollection

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

public final class CommentCollection
extends Comments
implements com.aspose.ms.System.Collections.ICollection<Comment>

Represents a collection of slide comments.


Method Summary
 void copyTo(com.aspose.ms.System.Array array, int index)
           Copies all elements from the collection to 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).
 int size()
           
 
Methods inherited from class com.aspose.slides.Comments
addComment, clear, get_Item, getCount, iterator, remove, removeAt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.ms.System.Collections.IEnumerable
iterator
 

Method Detail

copyTo

public void copyTo(com.aspose.ms.System.Array array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection<Comment>
Parameters:
array - Target array.
index - Starting index in the target array.

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<Comment>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

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

size

public int size()
Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<Comment>