public interface IList2
extends com4j.Com4jObject
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all the items from the list.
|
void |
copyFrom(com4j.stdole.IEnumVARIANT source,
int count)
Replaces the current contents with the contents of the given source enumeration.
|
int |
indexOfItem(Object item)
Gets the index of the passed object.
|
void |
item(int index,
Object rhs)
Sets an item by index.
|
void item(int index, Object rhs)
Sets an item by index. The index is one-based and must be within the element range.
Setter method for the COM property "Item"
index
- Mandatory int parameter.rhs
- Mandatory java.lang.Object parameter.void clear()
Removes all the items from the list.
int indexOfItem(Object item)
Gets the index of the passed object.
item
- Mandatory java.lang.Object parameter.void copyFrom(com4j.stdole.IEnumVARIANT source, int count)
Replaces the current contents with the contents of the given source enumeration. Items are copied in chunks of 100 pieces each.
source
- Mandatory IEnumVARIANT parameter.count
- Mandatory int parameter.Copyright © 2020. All rights reserved.