July 2000
Intermediate to advanced
492 pages
14h 53m
English
GetListCount —
objNextLink
.GetListCount(
strContentLinkList
)
Retrieves an integer representing the total number of entries in the Content Linking list.
strContentLinkList
A string value representing the virtual or relative pathname and filename of your Content Linking file. You cannot use physical paths or absolute URLs (those beginning with http://, //, or \\) for this parameter.
<%
' Dimension local variables.
Dim objNextLink
Dim intListCount
' Create an instance of the NextLink object.
Set objNextLink = Server.CreateObject("MSWC.NextLink")
' Retrieve a count of the pages listed in the Content
' Linking list file.
intListCount = _
objNextLink.GetListCount("/Content/MyContentLinkList.txt")
' Free the memory consumed by the NextLink object.
Set objNextLink = Nothing
%>See the full example at the end of this chapter.
Read now
Unlock full access