public class ContactGroupCollection extends com.aspose.ms.System.Collections.ObjectModel.Collection<GoogleContactGroup>
Represents collection of GmailContactGroup objects
Constructor and Description |
---|
ContactGroupCollection() |
Modifier and Type | Method and Description |
---|---|
void |
insertItem(int index,
GoogleContactGroup item)
Inserts an element into the
System.Collections.ObjectModel.Collection`1 at the specified index. |
protected void |
setItem(int index,
GoogleContactGroup item)
Replaces the element at the specified index.
|
protected void setItem(int index, GoogleContactGroup item)
Replaces the element at the specified index.
setItem
in class com.aspose.ms.System.Collections.ObjectModel.Collection<GoogleContactGroup>
index
- The zero-based index of the element to replace.item
- The new value for the element at the specified index. The value can be null for reference types.ArgumentOutOfRangeException
- index
is less than zero.
-or-
index
is greater than P:System.Collections.ObjectModel.Collection`1.Count
.public void insertItem(int index, GoogleContactGroup item)
Inserts an element into the System.Collections.ObjectModel.Collection`1
at the specified index.
insertItem
in interface com.aspose.ms.System.Collections.Generic.IGenericList<GoogleContactGroup>
insertItem
in class com.aspose.ms.System.Collections.ObjectModel.Collection<GoogleContactGroup>
index
- The zero-based index at which item
should be inserted.item
- The object to insert. The value can be null for reference types.ArgumentOutOfRangeException
- index
is less than zero.
-or-
index
is greater than P:System.Collections.ObjectModel.Collection`1.Count
.