RepositoryPieceUtilized

 

Name

 

            RepositoryPieceUtilized

 

When to use it

 

            During the OnFinish event.

 

Prototype

 

HRESULT RepositoryPieceUtilized(

            Index: long /*[in]*/,

            Utilized: long /*[out]*/,

            RepositoryExternalID: long /*[out]*/

);

 

Explanations

 

            Specify in which Sheet the Indexth piece of the Repository has been utilized.

            If the piece is utilized in optimization then the parameter Utilized will be set from 0 to TotalNumberOfUtilizedRepositoryPieces - 1.

            The parameter Utilized will be set to NumberOfRepositoryPieces if the piece is not used. [changed since version 3.7.3.3]

 

See Also:

 

            GetUtilizedRepositoryPiece, SetRepositoryPiece, GetRepositoryPiece, NumberOfRepositoryPieces, OnFinish.