GetNextDescription

The GetNextDescription method retrieves the text description of the next item in the Content Linking List file.

Syntax

NextLink.GetNextDescription( listURL )

 

Parameters
listURL
The location of the Content Linking List file.
Return Values

The GetNextDescription method returns an ASCII string describing the next item in the Content Linking List file. If the current page is not found in the list file, GetNextDescription returns the string description of the last page on the list.

Example

A more complete example is at the bottom of Content Linking Component.

--- NextLink_GetNextDescription.asp ---

<%
  ListFile = "/data/nextlink.txt"
  Set objNextLink = Server.CreateObject("MSWC.NextLink")   
  NextPageDesc = objNextLink.GetNextDescription(ListFile) 
  ThisPageIndex = objNextLink.GetListIndex(ListFile) 
  If 0 = ThisPageIndex Then
    Response.Write "This page is not listed in your Content Linking List file.<BR>"
  Else
    Response.Write "The description of the next page is<BR>" & NextPageDesc 
  End If
%>
 
See Also

GetNextURL, GetPreviousDescription, GetNthDescription


© 1997-2001 Microsoft Corporation. All rights reserved.