共用方式為


<list> (Visual Basic)

定義清單或數據表。

語法

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

參數

type
清單的類型。 必須是點符清單的「項目符號」、編號清單的「數位」,或是雙欄數據表的「數據表」。

term
只有在 是 「table」 時才 type 使用。要定義的字詞,定義於描述標籤中。

description
type 是 “bullet” 或 “number” description 時,是清單中的項目當 type 是 “table” 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

另請參閱