# C1.Util.DX.Animation.Variable2.SetVariableIntegerChangeHandler

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Animation_Variable2_SetVariableIntegerChangeHandler_" data-uid="C1.Util.DX.Animation.Variable2.SetVariableIntegerChangeHandler*">SetVariableIntegerChangeHandler Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Animation_Variable2_SetVariableIntegerChangeHandler_" data-uid="C1.Util.DX.Animation.Variable2.SetVariableIntegerChangeHandler*"></a>
<h4 id="C1_Util_DX_Animation_Variable2_SetVariableIntegerChangeHandler_C1_Util_DX_Animation_Variable2_IntegerValueChangedDelegate_System_Boolean_" data-uid="C1.Util.DX.Animation.Variable2.SetVariableIntegerChangeHandler(C1.Util.DX.Animation.Variable2.IntegerValueChangedDelegate,System.Boolean)">SetVariableIntegerChangeHandler(IntegerValueChangedDelegate, bool)</h4>
<div class="markdown level1 summary"><p>Specifies a handler for changes to the integer value of the animation variable.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetVariableIntegerChangeHandler(Variable2.IntegerValueChangedDelegate valueChangedHandler, bool fRegisterForNextAnimationEvent = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetVariableIntegerChangeHandler(valueChangedHandler As Variable2.IntegerValueChangedDelegate, Optional fRegisterForNextAnimationEvent As Boolean = False)</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.Util.DX.Animation.Variable2.html">Variable2</a>.<a class="xref" href="C1.Util.DX.Animation.Variable2.IntegerValueChangedDelegate.html">IntegerValueChangedDelegate</a></td>
      <td><span class="parametername">valueChangedHandler</span></td>
      <td><p>The handler for changes to the integer value of the animation variable.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">fRegisterForNextAnimationEvent</span></td>
      <td><p>If TRUE, specifies that the EstimateNextEventTime method will incorporate handler into its estimate of the time interval until the next animation event.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
