[This is preliminary documentation and subject to change]

GetListCount

The GetListCount method retrieves the total number of Web pages listed in the Content Linking List file.

Syntax

NextLink.GetListCount(listURL)

 

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

This method returns an integer.

Example

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

--- NextLink_GetListCount.asp ---

<%
  Dim objNextLink
  Set objNextLink = Server.CreateObject("MSWC.NextLink")   
  count = objNextLink.GetListCount("/data/nextlink.txt") 
  If 1 = count Then
    Response.Write "There is " & count & " item in the list.<BR>"
  Else
    Response.Write "There are " & count & " items in the list.<BR>" 
  End If
%>
See Also

GetListIndex


© 1997-2001 Microsoft Corporation. All rights reserved.