# GrapeCity.Spreadsheet.Localization.LanguagePackage.GetArgumentName

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Localization_LanguagePackage_GetArgumentName_" data-uid="GrapeCity.Spreadsheet.Localization.LanguagePackage.GetArgumentName*">GetArgumentName Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Localization_LanguagePackage_GetArgumentName_" data-uid="GrapeCity.Spreadsheet.Localization.LanguagePackage.GetArgumentName*"></a>
<h4 id="GrapeCity_Spreadsheet_Localization_LanguagePackage_GetArgumentName_GrapeCity_CalcEngine_Function_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Spreadsheet.Localization.LanguagePackage.GetArgumentName(GrapeCity.CalcEngine.Function,System.Int32,System.Int32,System.Int32)">GetArgumentName(Function, int, int, int)</h4>
<div class="markdown level1 summary"><p>Gets the parameter name of the specified function.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual string GetArgumentName(Function function, int index, int argCount, int overload = 0)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function GetArgumentName([function] As [Function], index As Integer, argCount As Integer, Optional overload As Integer = 0) 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="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.Function.html">Function</a></td>
      <td><span class="parametername">function</span></td>
      <td><p>The function to extract parameter name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>An integer value indicates the parameter's position.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">argCount</span></td>
      <td><p>The total number of current passed arguments.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">overload</span></td>
      <td><p>An integer value indicates the order of function overload.</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>A string value represents the parameter name.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_Localization_LanguagePackage_GetArgumentName_" data-uid="GrapeCity.Spreadsheet.Localization.LanguagePackage.GetArgumentName*"></a>
<h4 id="GrapeCity_Spreadsheet_Localization_LanguagePackage_GetArgumentName_System_String_System_Int32_" data-uid="GrapeCity.Spreadsheet.Localization.LanguagePackage.GetArgumentName(System.String,System.Int32)">GetArgumentName(string, int)</h4>
<div class="markdown level1 summary"><p>Gets name of the parameter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual string GetArgumentName(string name, int index = -1)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function GetArgumentName(name As String, Optional index As Integer = -1) 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">name</span></td>
      <td><p>Name of the parameter in English.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>An integer value indicates the parameter's position.</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>The localized name of the parameter.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_Localization_LanguagePackage_GetArgumentName_" data-uid="GrapeCity.Spreadsheet.Localization.LanguagePackage.GetArgumentName*"></a>
<h4 id="GrapeCity_Spreadsheet_Localization_LanguagePackage_GetArgumentName_GrapeCity_CalcEngine_ValueType_System_Int32_" data-uid="GrapeCity.Spreadsheet.Localization.LanguagePackage.GetArgumentName(GrapeCity.CalcEngine.ValueType,System.Int32)">GetArgumentName(ValueType, int)</h4>
<div class="markdown level1 summary"><p>Gets the parameter name for the specified value type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual string GetArgumentName(ValueType type, int index = -1)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function GetArgumentName(type As ValueType, Optional index As Integer = -1) 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="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.ValueType.html">ValueType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>A <a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.ValueType.html">ValueType</a> value indicates the type of the parameter value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>An integer value indicates the parameter's position.</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>The parameter name for the specified value type.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
