ContentList.GetScore

Ee785271.c++_on(en-US,CS.10).gifEe785271.vb_off(en-US,CS.10).gif

Use this method to retrieve the score of an item in a ContentList object.

Definition

Function GetScore(RowNum As Long) As Float

Parameters

RowNum

A Long that contains the position of the item in the ContentList object for which the score will be returned. Positions are counted from zero (0), not from one (1).

Return Values

If this method completes successfully, it returns a Float that contains the score for the specified item.

Error Values

This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

Example

'sngScore is a float
sngScore = myContentList.GetScore(12)

See Also

ContentList Object


All rights reserved.