# C1.Win.C1Input.ValueInterval.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_ValueInterval__ctor_" data-uid="C1.Win.C1Input.ValueInterval.#ctor*">ValueInterval Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_ValueInterval__ctor_" data-uid="C1.Win.C1Input.ValueInterval.#ctor*"></a>
<h4 id="C1_Win_C1Input_ValueInterval__ctor" data-uid="C1.Win.C1Input.ValueInterval.#ctor">ValueInterval()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the ValueInterval class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ValueInterval()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_Win_C1Input_ValueInterval__ctor_" data-uid="C1.Win.C1Input.ValueInterval.#ctor*"></a>
<h4 id="C1_Win_C1Input_ValueInterval__ctor_System_Object_System_Object_System_Boolean_System_Boolean_" data-uid="C1.Win.C1Input.ValueInterval.#ctor(System.Object,System.Object,System.Boolean,System.Boolean)">ValueInterval(object, object, bool, bool)</h4>
<div class="markdown level1 summary"><p>ValueInterval Constructor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ValueInterval(object minValue, object maxValue, bool includeMin, bool includeMax)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(minValue As Object, maxValue As Object, includeMin As Boolean, includeMax As Boolean)</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">minValue</span></td>
      <td><p>MinValue property value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">maxValue</span></td>
      <td><p>MaxValue property value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">includeMin</span></td>
      <td><p>IncludeMin property value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">includeMax</span></td>
      <td><p>IncludeMax property value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_C1Input_ValueInterval__ctor_" data-uid="C1.Win.C1Input.ValueInterval.#ctor*"></a>
<h4 id="C1_Win_C1Input_ValueInterval__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="C1.Win.C1Input.ValueInterval.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">ValueInterval(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the ValueInterval class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected ValueInterval(SerializationInfo info, StreamingContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(info As SerializationInfo, context As StreamingContext)</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.runtime.serialization.serializationinfo">SerializationInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
      <td><span class="parametername">context</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
