# C1.Util.DX.Animation.Variable2

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Animation_Variable2" data-uid="C1.Util.DX.Animation.Variable2" class="text-break">Variable2 Class
</h1>
  <div class="markdown level0 summary"><p>IUIAnimationVariable2</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><span class="xref">Variable2</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Animation.html">C1.Util.DX.Animation</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_Animation_Variable2_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;4914B304-96AB-44d9-9E77-D5109B7E7466&quot;)]
public class Variable2 : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;4914B304-96AB-44d9-9E77-D5109B7E7466&quot;)&gt;
Public Class Variable2
    Inherits ComObject
    Implements IDisposable, IUnknown</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2__ctor_System_IntPtr_" data-uid="C1.Util.DX.Animation.Variable2.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.-ctor.html#C1_Util_DX_Animation_Variable2__ctor_System_IntPtr_">Variable2(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Animation.Variable2.html">Variable2</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_Create_C1_Util_DX_Animation_Manager2_System_Double_" data-uid="C1.Util.DX.Animation.Variable2.Create(C1.Util.DX.Animation.Manager2,System.Double)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.Create.html#C1_Util_DX_Animation_Variable2_Create_C1_Util_DX_Animation_Manager2_System_Double_">Create(Manager2, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Animation.Variable2.html">Variable2</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_Create_C1_Util_DX_Animation_Manager2_System_Double___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.Create(C1.Util.DX.Animation.Manager2,System.Double[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.Create.html#C1_Util_DX_Animation_Variable2_Create_C1_Util_DX_Animation_Manager2_System_Double___System_Int32_">Create(Manager2, double[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Animation.Variable2.html">Variable2</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetCurve_C1_Util_DX_ComObject_" data-uid="C1.Util.DX.Animation.Variable2.GetCurve(C1.Util.DX.ComObject)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetCurve.html#C1_Util_DX_Animation_Variable2_GetCurve_C1_Util_DX_ComObject_">GetCurve(ComObject)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetCurve([In] IUnknown* animation)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetFinalIntegerVectorValue_System_Int32___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.GetFinalIntegerVectorValue(System.Int32[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetFinalIntegerVectorValue.html#C1_Util_DX_Animation_Variable2_GetFinalIntegerVectorValue_System_Int32___System_Int32_">GetFinalIntegerVectorValue(int[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetFinalIntegerVectorValue([Out, Buffer] int* finalValue,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetFinalVectorValue_System_Double___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.GetFinalVectorValue(System.Double[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetFinalVectorValue.html#C1_Util_DX_Animation_Variable2_GetFinalVectorValue_System_Double___System_Int32_">GetFinalVectorValue(double[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetFinalVectorValue([Out, Buffer] double* finalValue,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetIntegerVectorValue_System_Int32___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.GetIntegerVectorValue(System.Int32[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetIntegerVectorValue.html#C1_Util_DX_Animation_Variable2_GetIntegerVectorValue_System_Int32___System_Int32_">GetIntegerVectorValue(int[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetIntegerVectorValue([Out, Buffer] int* value,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetPreviousIntegerVectorValue_System_Int32___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.GetPreviousIntegerVectorValue(System.Int32[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetPreviousIntegerVectorValue.html#C1_Util_DX_Animation_Variable2_GetPreviousIntegerVectorValue_System_Int32___System_Int32_">GetPreviousIntegerVectorValue(int[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetPreviousIntegerVectorValue([Out, Buffer] int* previousValue,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetPreviousVectorValue_System_Double___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.GetPreviousVectorValue(System.Double[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetPreviousVectorValue.html#C1_Util_DX_Animation_Variable2_GetPreviousVectorValue_System_Double___System_Int32_">GetPreviousVectorValue(double[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetPreviousVectorValue([Out, Buffer] double* previousValue,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetTag_System_IntPtr__System_Int32__" data-uid="C1.Util.DX.Animation.Variable2.GetTag(System.IntPtr@,System.Int32@)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetTag.html#C1_Util_DX_Animation_Variable2_GetTag_System_IntPtr__System_Int32__">GetTag(out nint, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetTag([Out, Optional] IUnknown** object,[Out, Optional] unsigned int* id)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetTag_System_Object__System_Int32__" data-uid="C1.Util.DX.Animation.Variable2.GetTag(System.Object@,System.Int32@)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetTag.html#C1_Util_DX_Animation_Variable2_GetTag_System_Object__System_Int32__">GetTag(out object, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the tag.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetVectorCurve_C1_Util_DX_ComArray_C1_Util_DX_ComObject__System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.GetVectorCurve(C1.Util.DX.ComArray{C1.Util.DX.ComObject},System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetVectorCurve.html#C1_Util_DX_Animation_Variable2_GetVectorCurve_C1_Util_DX_ComArray_C1_Util_DX_ComObject__System_Int32_">GetVectorCurve(ComArray&lt;ComObject&gt;, int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetVectorCurve([In, Buffer] IUnknown** animation,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetVectorCurve_C1_Util_DX_ComObject___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.GetVectorCurve(C1.Util.DX.ComObject[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetVectorCurve.html#C1_Util_DX_Animation_Variable2_GetVectorCurve_C1_Util_DX_ComObject___System_Int32_">GetVectorCurve(ComObject[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetVectorCurve([In, Buffer] IUnknown** animation,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_GetVectorValue_System_Double___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.GetVectorValue(System.Double[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.GetVectorValue.html#C1_Util_DX_Animation_Variable2_GetVectorValue_System_Double___System_Int32_">GetVectorValue(double[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::GetVectorValue([Out, Buffer] double* value,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_Set1_VariableChangeHandler_C1_Util_DX_Animation_Variable2_Value1ChangedDelegate_System_Boolean_" data-uid="C1.Util.DX.Animation.Variable2.Set1_VariableChangeHandler(C1.Util.DX.Animation.Variable2.Value1ChangedDelegate,System.Boolean)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.Set1_VariableChangeHandler.html#C1_Util_DX_Animation_Variable2_Set1_VariableChangeHandler_C1_Util_DX_Animation_Variable2_Value1ChangedDelegate_System_Boolean_">Set1_VariableChangeHandler(Value1ChangedDelegate, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies a handler for changes to the value of the animation variable.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_Set1_VariableIntegerChangeHandler_C1_Util_DX_Animation_Variable2_IntegerValue1ChangedDelegate_System_Boolean_" data-uid="C1.Util.DX.Animation.Variable2.Set1_VariableIntegerChangeHandler(C1.Util.DX.Animation.Variable2.IntegerValue1ChangedDelegate,System.Boolean)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.Set1_VariableIntegerChangeHandler.html#C1_Util_DX_Animation_Variable2_Set1_VariableIntegerChangeHandler_C1_Util_DX_Animation_Variable2_IntegerValue1ChangedDelegate_System_Boolean_">Set1_VariableIntegerChangeHandler(IntegerValue1ChangedDelegate, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies a handler for changes to the integer value of the animation variable.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_Set2_VariableChangeHandler_C1_Util_DX_Animation_Variable2_Value2ChangedDelegate_System_Boolean_" data-uid="C1.Util.DX.Animation.Variable2.Set2_VariableChangeHandler(C1.Util.DX.Animation.Variable2.Value2ChangedDelegate,System.Boolean)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.Set2_VariableChangeHandler.html#C1_Util_DX_Animation_Variable2_Set2_VariableChangeHandler_C1_Util_DX_Animation_Variable2_Value2ChangedDelegate_System_Boolean_">Set2_VariableChangeHandler(Value2ChangedDelegate, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies a handler for changes to the value of the animation variable.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.Set2_VariableIntegerChangeHandler.html#C1_Util_DX_Animation_Variable2_Set2_VariableIntegerChangeHandler_C1_Util_DX_Animation_Variable2_IntegerValue2ChangedDelegate_System_Boolean_">Set2_VariableIntegerChangeHandler(IntegerValue2ChangedDelegate, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies a handler for changes to the integer value of the animation variable.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_SetLowerBound_System_Double_" data-uid="C1.Util.DX.Animation.Variable2.SetLowerBound(System.Double)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.SetLowerBound.html#C1_Util_DX_Animation_Variable2_SetLowerBound_System_Double_">SetLowerBound(double)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::SetLowerBound([In] double bound)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_SetLowerBoundVector_System_Double___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.SetLowerBoundVector(System.Double[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.SetLowerBoundVector.html#C1_Util_DX_Animation_Variable2_SetLowerBoundVector_System_Double___System_Int32_">SetLowerBoundVector(double[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::SetLowerBoundVector([In, Buffer] const double* bound,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_SetRoundingMode_C1_Util_DX_Animation_RoundingMode_" data-uid="C1.Util.DX.Animation.Variable2.SetRoundingMode(C1.Util.DX.Animation.RoundingMode)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.SetRoundingMode.html#C1_Util_DX_Animation_Variable2_SetRoundingMode_C1_Util_DX_Animation_RoundingMode_">SetRoundingMode(RoundingMode)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::SetRoundingMode([In] UI_ANIMATION_ROUNDING_MODE mode)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_SetTag_System_IntPtr_System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.SetTag(System.IntPtr,System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.SetTag.html#C1_Util_DX_Animation_Variable2_SetTag_System_IntPtr_System_Int32_">SetTag(nint, int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::SetTag([In, Optional] IUnknown* object,[In] unsigned int id)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_SetTag_System_Object_System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.SetTag(System.Object,System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.SetTag.html#C1_Util_DX_Animation_Variable2_SetTag_System_Object_System_Int32_">SetTag(object, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the tag.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_SetUpperBound_System_Double_" data-uid="C1.Util.DX.Animation.Variable2.SetUpperBound(System.Double)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.SetUpperBound.html#C1_Util_DX_Animation_Variable2_SetUpperBound_System_Double_">SetUpperBound(double)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::SetUpperBound([In] double bound)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_SetUpperBoundVector_System_Double___System_Int32_" data-uid="C1.Util.DX.Animation.Variable2.SetUpperBoundVector(System.Double[],System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.SetUpperBoundVector.html#C1_Util_DX_Animation_Variable2_SetUpperBoundVector_System_Double___System_Int32_">SetUpperBoundVector(double[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationVariable2::SetUpperBoundVector([In, Buffer] const double* bound,[In] unsigned int cDimension)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_SetVariableChangeHandler_C1_Util_DX_Animation_Variable2_ValueChangedDelegate_System_Boolean_" data-uid="C1.Util.DX.Animation.Variable2.SetVariableChangeHandler(C1.Util.DX.Animation.Variable2.ValueChangedDelegate,System.Boolean)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.SetVariableChangeHandler.html#C1_Util_DX_Animation_Variable2_SetVariableChangeHandler_C1_Util_DX_Animation_Variable2_ValueChangedDelegate_System_Boolean_">SetVariableChangeHandler(ValueChangedDelegate, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies a handler for changes to the value of the animation variable.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.SetVariableIntegerChangeHandler.html#C1_Util_DX_Animation_Variable2_SetVariableIntegerChangeHandler_C1_Util_DX_Animation_Variable2_IntegerValueChangedDelegate_System_Boolean_">SetVariableIntegerChangeHandler(IntegerValueChangedDelegate, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies a handler for changes to the integer value of the animation variable.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Animation_Variable2_op_Explicit_System_IntPtr__C1_Util_DX_Animation_Variable2" data-uid="C1.Util.DX.Animation.Variable2.op_Explicit(System.IntPtr)~C1.Util.DX.Animation.Variable2">
          <a class="xref" href="C1.Util.DX.Animation.Variable2.op_Explicit.html#C1_Util_DX_Animation_Variable2_op_Explicit_System_IntPtr__C1_Util_DX_Animation_Variable2">explicit operator Variable2(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a> to <a class="xref" href="C1.Util.DX.Animation.Variable2.html">Variable2</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
