Name
GetListCount —
objNextLink
.GetListCount(
strContentLinkList
)
Synopsis
Retrieves an integer representing the total number of entries in the Content Linking list.
Parameters
-
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.
Example
<% ' 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.
Get ASP in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.