# C1.C1Word.C1WordDocument.AddListTexts

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Word_C1WordDocument_AddListTexts_" data-uid="C1.C1Word.C1WordDocument.AddListTexts*">AddListTexts Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Word_C1WordDocument_AddListTexts_" data-uid="C1.C1Word.C1WordDocument.AddListTexts*"></a>
<h4 id="C1_C1Word_C1WordDocument_AddListTexts_C1_C1Word_RtfListType_System_Collections_Generic_KeyValuePair_System_Int32_System_String____" data-uid="C1.C1Word.C1WordDocument.AddListTexts(C1.C1Word.RtfListType,System.Collections.Generic.KeyValuePair{System.Int32,System.String}[])">AddListTexts(RtfListType, params KeyValuePair&lt;int, string&gt;[])</h4>
<div class="markdown level1 summary"><p>Adds tests in a list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RtfListText[] AddListTexts(RtfListType listType, params KeyValuePair&lt;int, string&gt;[] pairs)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddListTexts(listType As RtfListType, ParamArray pairs As KeyValuePair(Of Integer, String)()) As RtfListText()</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Word.RtfListType.html">RtfListType</a></td>
      <td><span class="parametername">listType</span></td>
      <td><p>The list type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;[]</td>
      <td><span class="parametername">pairs</span></td>
      <td><p>The list data, texts for a level.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Word.Objects.RtfListText.html">RtfListText</a>[]</td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
