Click here for NewsObjects Overview
GetProfileHitText Method (Story Control)
Windows - Visual C++


Description
The GetProfileHitText method returns the text of the nth profile hit within the story. 

Syntax
long value = [object.]GetProfileHitText(n)

The GetProfileHitText syntax has these parts:

Part

Description

n

An long integer from 1 to ProfileHitCount indicating which profile hit string to return.

value

A String which receives the text of the specified profile hit.

Remarks
GetProfileHitText is not guaranteed to return profile hit strings in the order that they appear in the story.

See Also: ProfileHitCount GetURLText GetSearchHitText

Back to: Story Methods