Index

DXPartsFed

Purpose:

This class represents a parts collection for federated.

Methods:

cardinality
  long cardinality();

Returns the number of elements in the collection.

createIterator
  LPDISPATCH createIterator();

Creates an iterator to iterate over a collection. The returned LPDISPATCH pointer contains a DXSequentialIterator federated object.

addElement
  addElement(VARIANT element);

Adds an element to the collection.

retrieveElementAt
  VARIANT retrieveElementAt(LPDISPATCH where);

Returns the element the iterator is pointing at. The input parameter LPDISPATCH pointer contains a DXSequentialIteratorFed object.

removeElementAt
  removeElementAt(LPDISPATCH where);

Removes the element the iterator is pointing at. The input parameter LPDISPATCH pointer contains a DXSequentialIteratorFed object.

removeAllElements
  removeAllElements();

Removes all elements in the collection.

insertElementAt
  insertElementAt(VARIANT element, LPDISPATCH where);

Adds a new element, after the element the iterator is currently pointing to. The input parameter LPDISPATCH pointer contains a DXSequentialIteratorFed object.

replaceElementAt
  replaceElementAt(VARIANT element, LPDISPATCH where);

Replaces the element the iterator is pointing at. The input parameter LPDISPATCH pointer contains a DXSequentialIteratorFed object.

addMember
  addMember(LPDISPATCH folder, LPDISPATCH member);

Adds an XDO to the specified item. The first input parameter LPDISPATCH pointer contains a DXDDOFed object and the second input parameter LPDISPATCH pointer contains a DXXDOOFed object.

removeMember
  removeMember(LPDISPATCH folder, LPDISPATCH member);

Removes an XDO from the specified item. The first input parameter LPDISPATCH pointer contains a DXDDOFed object and the second input parameter LPDISPATCH pointer contains a DXXDOOFed object.

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.