# FarPoint.Win.Spread.SurrogateCharValidator

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_SurrogateCharValidator" data-uid="FarPoint.Win.Spread.SurrogateCharValidator" class="text-break">SurrogateCharValidator Class
</h1>
  <div class="markdown level0 summary"><p>Represents a special <a class="xref" href="FarPoint.Win.Spread.BaseDataValidator.html">BaseDataValidator</a> that validates whether the specified value exists in surrogate characters.</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="FarPoint.Win.Spread.BaseDataValidator.html">BaseDataValidator</a></div>
    <div class="level2"><span class="xref">SurrogateCharValidator</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.ideserializationcallback">IDeserializationCallback</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.INamedObject.html">INamedObject</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_SurrogateCharValidator_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(FpSpread), &quot;SurrogateCharValidator.png&quot;)]
[TypeConverter(typeof(SurrogateCharValidator._a))]
public class SurrogateCharValidator : BaseDataValidator, ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(FpSpread), &quot;SurrogateCharValidator.png&quot;)&gt;
&lt;TypeConverter(GetType(SurrogateCharValidator._a))&gt;
Public Class SurrogateCharValidator
    Inherits BaseDataValidator
    Implements ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject</code></pre>
  </div>
  <h5 id="FarPoint_Win_Spread_SurrogateCharValidator_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>You can validate whether the value exists in the surrogate chararcters.</p>
</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="FarPoint_Win_Spread_SurrogateCharValidator__ctor" data-uid="FarPoint.Win.Spread.SurrogateCharValidator.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.SurrogateCharValidator.-ctor.html#FarPoint_Win_Spread_SurrogateCharValidator__ctor">SurrogateCharValidator()</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the default empty constructor.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SurrogateCharValidator__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.SurrogateCharValidator.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.SurrogateCharValidator.-ctor.html#FarPoint_Win_Spread_SurrogateCharValidator__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">SurrogateCharValidator(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of this 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="FarPoint_Win_Spread_SurrogateCharValidator_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.SurrogateCharValidator.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.SurrogateCharValidator.Deserialize.html#FarPoint_Win_Spread_SurrogateCharValidator_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SurrogateCharValidator_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.SurrogateCharValidator.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.SurrogateCharValidator.GetObjectData.html#FarPoint_Win_Spread_SurrogateCharValidator_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the object data.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SurrogateCharValidator_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.SurrogateCharValidator.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.SurrogateCharValidator.Serialize.html#FarPoint_Win_Spread_SurrogateCharValidator_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SurrogateCharValidator_Validate_FarPoint_Win_Spread_ValidateActionContext_" data-uid="FarPoint.Win.Spread.SurrogateCharValidator.Validate(FarPoint.Win.Spread.ValidateActionContext)">
          <a class="xref" href="FarPoint.Win.Spread.SurrogateCharValidator.Validate.html#FarPoint_Win_Spread_SurrogateCharValidator_Validate_FarPoint_Win_Spread_ValidateActionContext_">Validate(ValidateActionContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates whether the specified value exists in surrogate characters.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
