# CSJ2K.j2k.util.ParameterList.toNameArray

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_util_ParameterList_toNameArray_" data-uid="CSJ2K.j2k.util.ParameterList.toNameArray*">toNameArray Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_util_ParameterList_toNameArray_" data-uid="CSJ2K.j2k.util.ParameterList.toNameArray*"></a>
<h4 id="CSJ2K_j2k_util_ParameterList_toNameArray_System_String_____" data-uid="CSJ2K.j2k.util.ParameterList.toNameArray(System.String[][])">toNameArray(string[][])</h4>
<div class="markdown level1 summary"><p>Converts the usage information to a list of parameter names in a single
array. The usage information appears in a 2D array of String. The first
dimensions contains the different options, the second dimension
contains the name of the option (first element), the synopsis and the
explanation. This method takes the names of the different options in
'pinfo' and returns them in a single array of String.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static string[] toNameArray(string[][] pinfo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function toNameArray(pinfo As String()()) As String()</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="https://learn.microsoft.com/dotnet/api/system.string">string</a>[][]</td>
      <td><span class="parametername">pinfo</span></td>
      <td><p>The list of options and their usage info (see above).</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="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</td>
      <td><p>An array with the names of the options in pinfo. If pinfo is
null, null is returned.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
