Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackCard::Index Property

Sets or retrieves the index of the card within its pile

Syntax:

HRESULT get_Index(
   long *p
);

HRESULT put_Index(
   long v
);

Parameters:

p
Address of a long integer variable that receives the card's zero-based index.
v
A long integer value that specifies the card's zero-based index.

Return Value:

Returns S_OK if successful, or an error value otherwise.

Remarks:

Change this property to move a card within its pile.

Passing -1, or a value greater than the number of cards in the pile, moves the card to the end of the pile.

  May 9, 2002 jmhoersc@mtu.edu