# C1.Util.DX.Direct2D.Properties.SetValueByName

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*">SetValueByName Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_System_Int32_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,System.Int32)">SetValueByName(string, int)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, int value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Integer)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_System_UInt32_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,System.UInt32)">SetValueByName(string, uint)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[CLSCompliant(false)]
public void SetValueByName(string name, uint value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;CLSCompliant(False)&gt;
Public Sub SetValueByName(name As String, value As UInteger)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_System_Boolean_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,System.Boolean)">SetValueByName(string, bool)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, bool value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value 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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_System_Guid_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,System.Guid)">SetValueByName(string, Guid)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, Guid value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Guid)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_System_Single_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,System.Single)">SetValueByName(string, float)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, float value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Single)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_Vector2_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.Vector2)">SetValueByName(string, Vector2)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, Vector2 value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Vector2)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector2.html">Vector2</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_Vector3_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.Vector3)">SetValueByName(string, Vector3)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, Vector3 value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Vector3)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector3.html">Vector3</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_Vector4_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.Vector4)">SetValueByName(string, Vector4)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, Vector4 value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Vector4)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector4.html">Vector4</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_Point2F_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.Point2F)">SetValueByName(string, Point2F)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, Point2F value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Point2F)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Point2F.html">Point2F</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_RectF_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.RectF)">SetValueByName(string, RectF)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, RectF value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As RectF)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.RectF.html">RectF</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_ColorF_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.ColorF)">SetValueByName(string, ColorF)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, ColorF value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As ColorF)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.ColorF.html">ColorF</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_Matrix3x2_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.Matrix3x2)">SetValueByName(string, Matrix3x2)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, Matrix3x2 value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Matrix3x2)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Matrix3x2.html">Matrix3x2</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_Matrix4x4_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.Matrix4x4)">SetValueByName(string, Matrix4x4)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, Matrix4x4 value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Matrix4x4)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Matrix4x4.html">Matrix4x4</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_Matrix5x4_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.Matrix5x4)">SetValueByName(string, Matrix5x4)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, Matrix5x4 value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As Matrix5x4)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Matrix5x4.html">Matrix5x4</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_System_String_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,System.String)">SetValueByName(string, string)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, string value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, value As String)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName__1_System_String___0_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName``1(System.String,``0)">SetValueByName&lt;T&gt;(string, T)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName&lt;T&gt;(string name, T value) where T : ComObject</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(Of T As ComObject)(name As String, value As T)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">T</span></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName__1_System_String_C1_Util_DX_Direct2D_PropertyType___0_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName``1(System.String,C1.Util.DX.Direct2D.PropertyType,``0)">SetValueByName&lt;T&gt;(string, PropertyType, T)</h4>
<div class="markdown level1 summary"><p>Sets the named property to the given value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName&lt;T&gt;(string name, PropertyType type, T value) where T : struct</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(Of T As Structure)(name As String, type As PropertyType, value As T)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>Name of the property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.PropertyType.html">PropertyType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Property type.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">T</span></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value of the property</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_Properties_SetValueByName_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName*"></a>
<h4 id="C1_Util_DX_Direct2D_Properties_SetValueByName_System_String_C1_Util_DX_Direct2D_PropertyType_System_IntPtr_System_Int32_" data-uid="C1.Util.DX.Direct2D.Properties.SetValueByName(System.String,C1.Util.DX.Direct2D.PropertyType,System.IntPtr,System.Int32)">SetValueByName(string, PropertyType, IntPtr, int)</h4>
<div class="markdown level1 summary"><p>HRESULT ID2D1Properties::SetValueByName([In] const wchar_t* name,[In] D2D1_PROPERTY_TYPE type,[In, Buffer] const void* data,[In] unsigned int dataSize)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValueByName(string name, PropertyType type, IntPtr data, int dataSize)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetValueByName(name As String, type As PropertyType, data As IntPtr, dataSize As Integer)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct2D.PropertyType.html">PropertyType</a></td>
      <td><span class="parametername">type</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a></td>
      <td><span class="parametername">data</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">dataSize</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
