# FarPoint.Win.Spread.ActionMap.Put

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_ActionMap_Put_" data-uid="FarPoint.Win.Spread.ActionMap.Put*">Put Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_ActionMap_Put_" data-uid="FarPoint.Win.Spread.ActionMap.Put*"></a>
<h4 id="FarPoint_Win_Spread_ActionMap_Put_System_Object_FarPoint_Win_Spread_Action_" data-uid="FarPoint.Win.Spread.ActionMap.Put(System.Object,FarPoint.Win.Spread.Action)">Put(object, Action)</h4>
<div class="markdown level1 summary"><p>Creates a binding between a key and an action.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Put(object key, Action action)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Put(key As Object, action As Action)</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.object">object</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>Specified keyboard key</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Action.html">Action</a></td>
      <td><span class="parametername">action</span></td>
      <td><p>Specified action</p>
</td>
    </tr>
  </tbody>
</table>
</div>
