EnhEvent.Text

[This is preliminary documentation and subject to change.]

The Text property contains the stream language text for the event.

Syntax

object.Text [ = sText ]
 

Parts

object
Object expression that resolves to an EnhEvent object.
sText
String that contains the stream language text of the event. To locate more information about stream compiler language syntax, see Further Information on Data Services for the Client.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in stream.idl.
  Import Library: Included as a resource in stream.dll.
  Unicode: Yes.

See Also

EnhEvents.AddText

Examples

The following example sets the text of event e to that of a file download that transmits the file, MyShow.htm.

e.Text = "00:00:01:30 MyShow.htm ;"
 

The next example changes the event text to that of an enhancement announcement event.

e.Text = "00:00:00.50 announce ( ""MyAnnc.ann"" ) ;"
 

Note  Before you can transmit an announcement event, you must build the announcement file, in this case MyAnnc.ann. For more information on how to do this, see Creating Enhancement Announcements.