GetNthDescription

The GetNthDescription method retrieves a text description of the Nth item in the Content Linking List file.

Syntax

NextLink.GetNthDescription( 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_GetNthDescription.asp ---

<%
  ListFile = "/Data/nextlink.txt"
  Set objNextLink = Server.CreateObject("MSWC.NextLink")
  TotalLinks = objNextLink.GetListCount(ListFile)
  i = 1
  For i = 1 To TotalLinks
    Response.Write objNextLink.GetNthDescription(ListFile, i) & "<BR>"
  Next
%>
 
See Also

GetNextDescription, GetPreviousDescription, GetNthURL


© 1997-2001 Microsoft Corporation. All rights reserved.