[This is preliminary documentation and subject to change.]
The PageName property returns the portion of EnhEvent.Name enclosed by angle brackets. This property is read-only.
[ sPageName = ] object.PageName
This property is typically used to retrieve the filename from a trigger event. For example, if the enhancement stream contained the Nav trigger event, 00:20:05.0 trigger ("2 <MyEnh.htm>[targ:Left]");
, your application could use PageName to extract the filename, MyEnh.htm
, from the event.
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.
The following example retrieves the name of the enhancement page specified in event e
and stores it in the variable sName
.
'Declare a variable to receive the page name.
Dim sName As String
'Retrieve the page name and location from an event.
sName = e.PageName