GetListCount

GetListCount 메서드는 컨텐트 링크 목록 파일에 나열된 웹 페이지의 전체 수를 검색합니다.

구문

NextLink.GetListCount( listURL )

매개 변수

listURL
컨텐트 링크 목록 파일의 위치입니다.

반환 값

이 메서드는 정수를 반환합니다.

예제

더 자세한 예제는 Content Linking 구성 요소의 아래쪽에 있습니다.

--- 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
%>
 

관련 항목

GetListIndex


© 1997-2001 Microsoft Corporation. All rights reserved.