### GetNthURL

The GetNthURL method returns the URL of the Nth item in the Content Linking List file.

###### Syntax

NextLink.GetNthURL( listURL, i )

###### Parameters

listURL
  The location of the Content Linking List file.
i
  The index number of an item in the Content Linking List file.

###### Return Values

This method returns a string.

###### Example

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

--- NextLink_GetNthURL.asp ---

    <%
      ListFile = "/Data/nextlink.txt"
      Set objNextLink = Server.CreateObject("MSWC.NextLink")
      TotalLinks = objNextLink.GetListCount(ListFile)
      i = 1
      For i = 1 To TotalLinks
        %>
        <A HREF="<%=objNextLink.GetNthURL(ListFile, i)%>">
        <%=objNextLink.GetNthDescription(ListFile, i)%>
        </A><BR>
        <%
      Next
    %>

###### See Also

GetNextURL, GetPreviousURL, GetNthDescription

© 1997-2001 Microsoft Corporation. All rights reserved.