The GetNextDescription method retrieves the text description of the next item in the Content Linking List file.
NextLink.GetNextDescription( listURL )
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.
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
%>
GetNextURL, GetPreviousDescription, GetNthDescription