<목록>(Visual Basic)

목록이나 테이블을 정의합니다.

구문

<list type="type">  
   <listheader>  
      <term>term</term>  
      <description>description</description>  
   </listheader>  
   <item>  
      <term>term</term>  
      <description>description</description>  
   </item>  
</list>  

매개 변수

type
목록의 유형입니다. 글머리 기호 목록의 경우 "글머리 기호", 번호 매기기 목록의 경우 "숫자", 2열 테이블의 경우 "테이블"이어야 합니다.

term
type이 "테이블"인 경우에만 사용됩니다. 설명 태그에 정의되어 있는 정의할 용어입니다.

description
type이 "글머리 기호" 또는 "숫자"인 경우 description은 목록의 항목입니다. type이 "테이블"인 경우 descriptionterm의 정의입니다.

설명

<listheader> 블록은 테이블 또는 정의 목록의 제목을 정의합니다. 테이블을 정의할 때 제목에 term에 대한 항목만 제공하면 됩니다.

목록의 각 항목은 <item> 블록을 사용하여 지정됩니다. 정의 목록을 만들 때 termdescription을 모두 지정해야 합니다. 그러나 테이블, 글머리 기호 목록 또는 번호 매기기 목록의 경우 description에 대한 항목만 제공하면 됩니다.

목록 또는 테이블에 <item> 블록을 필요한 개수만큼 포함할 수 있습니다.

-doc로 컴파일하여 문서 주석을 파일로 처리합니다.

예시

이 예에서는 <list> 태그를 사용하여 설명 섹션에 글머리 기호 목록을 정의합니다.

''' <remarks>Before calling the <c>Reset</c> method, be sure to:
''' <list type="bullet">
''' <item><description>Close all connections.</description></item>
''' <item><description>Save the object state.</description></item>
''' </list>
''' </remarks>
Public Sub Reset()
    ' Code goes here.
End Sub

참고 항목