GetListIndex 메서드는 컨텐트 링크 목록 파일에 있는 현재 항목의 색인 번호를 찾습니다.
NextLink.GetListIndex( listURL )
GetListIndex 메서드는 파일 목록상에서 현재 페이지의 위치를 지정하는 정수 색인 값을 반환합니다. 맨 처음 항목의 색인 번호는 1입니다. 현재 페이지가 컨텐트 링크 목록 파일에 없으면 이 메서드는 0을 반환합니다.
더 자세한 예제는 Content Linking 구성 요소의 아래쪽에 있습니다.
--- NextLink_GetListIndex.asp ---
<%
Dim objNextLink
Set objNextLink = Server.CreateObject("MSWC.NextLink")
Index = objNextLink.GetListIndex("/data/nextlink.txt")
If 0 = Index Then
Response.Write "This page is not listed in your Content Linking List file.<BR>"
Else
Response.Write "This page is number " & Index & " in your Content Linking List File.<BR>"
End If
%>