The GetListIndex method retrieves the index number of the current item in the Content Linking List file.
NextLink.GetListIndex( listURL )
The GetListIndex method returns an integer index value specifying the current page's position on the file list. The index number of the first item is 1. This method returns 0 if the current page is not in the Content Linking List file.
A more complete example is at the bottom of Content Linking Component.
--- NextLink_GetListIndex.asp ---
<%
Dim objNextLink
Set objNextLink = Server.CreateObject("MSWC.NextLink")
Index = objNextLink.GetListIndex("/data/nextlink.txt")
If 0 = Index Then
Response.Write "This page is not listed in your Content Linking List file.<BR>"
Else
Response.Write "This page is number " & Index & " in your Content Linking List File.<BR>"
End If
%>