# C1.Util.DX.Direct3D11.UserDefinedAnnotation

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Direct3D11_UserDefinedAnnotation" data-uid="C1.Util.DX.Direct3D11.UserDefinedAnnotation" class="text-break">UserDefinedAnnotation Class
</h1>
  <div class="markdown level0 summary"><p>ID3DUserDefinedAnnotation</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">UserDefinedAnnotation</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.Direct3D11.html">C1.Util.DX.Direct3D11</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_Direct3D11_UserDefinedAnnotation_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab&quot;)]
public class UserDefinedAnnotation : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab&quot;)&gt;
Public Class UserDefinedAnnotation
    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_Direct3D11_UserDefinedAnnotation__ctor_System_IntPtr_" data-uid="C1.Util.DX.Direct3D11.UserDefinedAnnotation.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Direct3D11.UserDefinedAnnotation.-ctor.html#C1_Util_DX_Direct3D11_UserDefinedAnnotation__ctor_System_IntPtr_">UserDefinedAnnotation(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct3D11.UserDefinedAnnotation.html">UserDefinedAnnotation</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_Direct3D11_UserDefinedAnnotation_BeginEvent_System_String_" data-uid="C1.Util.DX.Direct3D11.UserDefinedAnnotation.BeginEvent(System.String)">
          <a class="xref" href="C1.Util.DX.Direct3D11.UserDefinedAnnotation.BeginEvent.html#C1_Util_DX_Direct3D11_UserDefinedAnnotation_BeginEvent_System_String_">BeginEvent(string)</a>
        </td>
        <td class="markdown level1 summary"><p>int ID3DUserDefinedAnnotation::BeginEvent([In] const wchar_t* Name)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_UserDefinedAnnotation_EndEvent" data-uid="C1.Util.DX.Direct3D11.UserDefinedAnnotation.EndEvent">
          <a class="xref" href="C1.Util.DX.Direct3D11.UserDefinedAnnotation.EndEvent.html#C1_Util_DX_Direct3D11_UserDefinedAnnotation_EndEvent">EndEvent()</a>
        </td>
        <td class="markdown level1 summary"><p>int ID3DUserDefinedAnnotation::EndEvent()</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_UserDefinedAnnotation_GetStatus" data-uid="C1.Util.DX.Direct3D11.UserDefinedAnnotation.GetStatus">
          <a class="xref" href="C1.Util.DX.Direct3D11.UserDefinedAnnotation.GetStatus.html#C1_Util_DX_Direct3D11_UserDefinedAnnotation_GetStatus">GetStatus()</a>
        </td>
        <td class="markdown level1 summary"><p>BOOL ID3DUserDefinedAnnotation::GetStatus()</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_UserDefinedAnnotation_SetMarker_System_String_" data-uid="C1.Util.DX.Direct3D11.UserDefinedAnnotation.SetMarker(System.String)">
          <a class="xref" href="C1.Util.DX.Direct3D11.UserDefinedAnnotation.SetMarker.html#C1_Util_DX_Direct3D11_UserDefinedAnnotation_SetMarker_System_String_">SetMarker(string)</a>
        </td>
        <td class="markdown level1 summary"><p>void ID3DUserDefinedAnnotation::SetMarker([In] const wchar_t* Name)</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_Direct3D11_UserDefinedAnnotation_op_Explicit_System_IntPtr__C1_Util_DX_Direct3D11_UserDefinedAnnotation" data-uid="C1.Util.DX.Direct3D11.UserDefinedAnnotation.op_Explicit(System.IntPtr)~C1.Util.DX.Direct3D11.UserDefinedAnnotation">
          <a class="xref" href="C1.Util.DX.Direct3D11.UserDefinedAnnotation.op_Explicit.html#C1_Util_DX_Direct3D11_UserDefinedAnnotation_op_Explicit_System_IntPtr__C1_Util_DX_Direct3D11_UserDefinedAnnotation">explicit operator UserDefinedAnnotation(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.Direct3D11.UserDefinedAnnotation.html">UserDefinedAnnotation</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
