# C1.Util.DX.ObjectReference

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_ObjectReference" data-uid="C1.Util.DX.ObjectReference" class="text-break">ObjectReference Class
</h1>
  <div class="markdown level0 summary"><p>Contains information about a tracked COM object.</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"><span class="xref">ObjectReference</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.html">C1.Util.DX</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_ObjectReference_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ObjectReference</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ObjectReference</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_ObjectReference__ctor_System_DateTime_C1_Util_DX_ComObject_System_String_" data-uid="C1.Util.DX.ObjectReference.#ctor(System.DateTime,C1.Util.DX.ComObject,System.String)">
          <a class="xref" href="C1.Util.DX.ObjectReference.-ctor.html#C1_Util_DX_ObjectReference__ctor_System_DateTime_C1_Util_DX_ComObject_System_String_">ObjectReference(DateTime, ComObject, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.ObjectReference.html">ObjectReference</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</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_ObjectReference_CreationTime" data-uid="C1.Util.DX.ObjectReference.CreationTime">
          <a class="xref" href="C1.Util.DX.ObjectReference.CreationTime.html#C1_Util_DX_ObjectReference_CreationTime">CreationTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the time the object was created.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_ObjectReference_IsAlive" data-uid="C1.Util.DX.ObjectReference.IsAlive">
          <a class="xref" href="C1.Util.DX.ObjectReference.IsAlive.html#C1_Util_DX_ObjectReference_IsAlive">IsAlive</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the tracked object is alive.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_ObjectReference_Object" data-uid="C1.Util.DX.ObjectReference.Object">
          <a class="xref" href="C1.Util.DX.ObjectReference.Object.html#C1_Util_DX_ObjectReference_Object">Object</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a weak reference to the tracked object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_ObjectReference_StackTrace" data-uid="C1.Util.DX.ObjectReference.StackTrace">
          <a class="xref" href="C1.Util.DX.ObjectReference.StackTrace.html#C1_Util_DX_ObjectReference_StackTrace">StackTrace</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the stack trace when the track object was created.</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_ObjectReference_ToString" data-uid="C1.Util.DX.ObjectReference.ToString">
          <a class="xref" href="C1.Util.DX.ObjectReference.ToString.html#C1_Util_DX_ObjectReference_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> that represents this instance.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
