# C1.Util.DX.Animation.Variable2.Set2_VariableIntegerChangeHandler

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Animation_Variable2_Set2_VariableIntegerChangeHandler_" data-uid="C1.Util.DX.Animation.Variable2.Set2_VariableIntegerChangeHandler*">Set2_VariableIntegerChangeHandler Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Animation_Variable2_Set2_VariableIntegerChangeHandler_" data-uid="C1.Util.DX.Animation.Variable2.Set2_VariableIntegerChangeHandler*"></a>
<h4 id="C1_Util_DX_Animation_Variable2_Set2_VariableIntegerChangeHandler_C1_Util_DX_Animation_Variable2_IntegerValue2ChangedDelegate_System_Boolean_" data-uid="C1.Util.DX.Animation.Variable2.Set2_VariableIntegerChangeHandler(C1.Util.DX.Animation.Variable2.IntegerValue2ChangedDelegate,System.Boolean)">Set2_VariableIntegerChangeHandler(IntegerValue2ChangedDelegate, 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 Set2_VariableIntegerChangeHandler(Variable2.IntegerValue2ChangedDelegate valueChangedHandler, bool fRegisterForNextAnimationEvent = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Set2_VariableIntegerChangeHandler(valueChangedHandler As Variable2.IntegerValue2ChangedDelegate, 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.IntegerValue2ChangedDelegate.html">IntegerValue2ChangedDelegate</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>
