# C1.Util.DX.DirectWrite.LocalizedStrings

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DirectWrite_LocalizedStrings" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings" class="text-break">LocalizedStrings Class
</h1>
  <div class="markdown level0 summary"><p>IDWriteLocalizedStrings</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">LocalizedStrings</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.DirectWrite.html">C1.Util.DX.DirectWrite</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_DirectWrite_LocalizedStrings_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;08256209-099a-4b34-b86d-c22b110e7771&quot;)]
public class LocalizedStrings : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;08256209-099a-4b34-b86d-c22b110e7771&quot;)&gt;
Public Class LocalizedStrings
    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_DirectWrite_LocalizedStrings__ctor_System_IntPtr_" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.-ctor.html#C1_Util_DX_DirectWrite_LocalizedStrings__ctor_System_IntPtr_">LocalizedStrings(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.html">LocalizedStrings</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_DirectWrite_LocalizedStrings_FindLocaleName_System_String_System_Int32__" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.FindLocaleName(System.String,System.Int32@)">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.FindLocaleName.html#C1_Util_DX_DirectWrite_LocalizedStrings_FindLocaleName_System_String_System_Int32__">FindLocaleName(string, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteLocalizedStrings::FindLocaleName([In] const wchar_t* localeName,[Out] unsigned int* index,[Out] BOOL* exists)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_LocalizedStrings_GetCount" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.GetCount">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.GetCount.html#C1_Util_DX_DirectWrite_LocalizedStrings_GetCount">GetCount()</a>
        </td>
        <td class="markdown level1 summary"><p>unsigned int IDWriteLocalizedStrings::GetCount()</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_LocalizedStrings_GetLocaleName_System_Int32_" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.GetLocaleName(System.Int32)">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.GetLocaleName.html#C1_Util_DX_DirectWrite_LocalizedStrings_GetLocaleName_System_Int32_">GetLocaleName(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Get the locale name from the language.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_LocalizedStrings_GetLocaleName_System_Int32_System_IntPtr_System_Int32_" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.GetLocaleName(System.Int32,System.IntPtr,System.Int32)">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.GetLocaleName.html#C1_Util_DX_DirectWrite_LocalizedStrings_GetLocaleName_System_Int32_System_IntPtr_System_Int32_">GetLocaleName(int, IntPtr, int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteLocalizedStrings::GetLocaleName([In] unsigned int index,[Out, Buffer] wchar_t* localeName,[In] unsigned int size)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_LocalizedStrings_GetLocaleNameLength_System_Int32_" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.GetLocaleNameLength(System.Int32)">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.GetLocaleNameLength.html#C1_Util_DX_DirectWrite_LocalizedStrings_GetLocaleNameLength_System_Int32_">GetLocaleNameLength(int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteLocalizedStrings::GetLocaleNameLength([In] unsigned int index,[Out] unsigned int* length)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_LocalizedStrings_GetString_System_Int32_" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.GetString(System.Int32)">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.GetString.html#C1_Util_DX_DirectWrite_LocalizedStrings_GetString_System_Int32_">GetString(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Get the string from the language/string pair.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_LocalizedStrings_GetString_System_Int32_System_IntPtr_System_Int32_" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.GetString(System.Int32,System.IntPtr,System.Int32)">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.GetString.html#C1_Util_DX_DirectWrite_LocalizedStrings_GetString_System_Int32_System_IntPtr_System_Int32_">GetString(int, IntPtr, int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteLocalizedStrings::GetString([In] unsigned int index,[Out, Buffer] wchar_t* stringBuffer,[In] unsigned int size)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_LocalizedStrings_GetStringLength_System_Int32_" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.GetStringLength(System.Int32)">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.GetStringLength.html#C1_Util_DX_DirectWrite_LocalizedStrings_GetStringLength_System_Int32_">GetStringLength(int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteLocalizedStrings::GetStringLength([In] unsigned int index,[Out] unsigned int* length)</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_DirectWrite_LocalizedStrings_op_Explicit_System_IntPtr__C1_Util_DX_DirectWrite_LocalizedStrings" data-uid="C1.Util.DX.DirectWrite.LocalizedStrings.op_Explicit(System.IntPtr)~C1.Util.DX.DirectWrite.LocalizedStrings">
          <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.op_Explicit.html#C1_Util_DX_DirectWrite_LocalizedStrings_op_Explicit_System_IntPtr__C1_Util_DX_DirectWrite_LocalizedStrings">explicit operator LocalizedStrings(IntPtr)</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">IntPtr</a> to <a class="xref" href="C1.Util.DX.DirectWrite.LocalizedStrings.html">LocalizedStrings</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
