# C1.Util.DX.DXGI.Adapter.IsInterfaceSupported

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DXGI_Adapter_IsInterfaceSupported_" data-uid="C1.Util.DX.DXGI.Adapter.IsInterfaceSupported*">IsInterfaceSupported Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DXGI_Adapter_IsInterfaceSupported_" data-uid="C1.Util.DX.DXGI.Adapter.IsInterfaceSupported*"></a>
<h4 id="C1_Util_DX_DXGI_Adapter_IsInterfaceSupported_System_Type_" data-uid="C1.Util.DX.DXGI.Adapter.IsInterfaceSupported(System.Type)">IsInterfaceSupported(Type)</h4>
<div class="markdown level1 summary"><p>Checks to see if a device interface for a graphics component is supported by the system.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool IsInterfaceSupported(Type type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function IsInterfaceSupported(type As Type) 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.type">Type</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The GUID of the interface of the device version for which support is being checked. For example, typeof(ID3D10Device).GUID.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if the interface is supported; otherwise, <code>false</code>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_DXGI_Adapter_IsInterfaceSupported_" data-uid="C1.Util.DX.DXGI.Adapter.IsInterfaceSupported*"></a>
<h4 id="C1_Util_DX_DXGI_Adapter_IsInterfaceSupported__1" data-uid="C1.Util.DX.DXGI.Adapter.IsInterfaceSupported``1">IsInterfaceSupported&lt;T&gt;()</h4>
<div class="markdown level1 summary"><p>Checks to see if a device interface for a graphics component is supported by the system.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool IsInterfaceSupported&lt;T&gt;() where T : ComObject</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function IsInterfaceSupported(Of T As ComObject)() As Boolean</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if the interface is supported; otherwise, <code>false</code>.</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><p>the interface of the device version for which support is being checked.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_DXGI_Adapter_IsInterfaceSupported_" data-uid="C1.Util.DX.DXGI.Adapter.IsInterfaceSupported*"></a>
<h4 id="C1_Util_DX_DXGI_Adapter_IsInterfaceSupported__1_System_Int64__" data-uid="C1.Util.DX.DXGI.Adapter.IsInterfaceSupported``1(System.Int64@)">IsInterfaceSupported&lt;T&gt;(out long)</h4>
<div class="markdown level1 summary"><p>Checks to see if a device interface for a graphics component is supported by the system.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool IsInterfaceSupported&lt;T&gt;(out long userModeVersion) where T : ComObject</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function IsInterfaceSupported(Of T As ComObject)(ByRef userModeVersion As Long) 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.int64">long</a></td>
      <td><span class="parametername">userModeVersion</span></td>
      <td><p>The user mode driver version of InterfaceName. This is only returned if the interface is supported.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if the interface is supported; otherwise, <code>false</code>.</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><p>the interface of the device version for which support is being checked.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_DXGI_Adapter_IsInterfaceSupported_" data-uid="C1.Util.DX.DXGI.Adapter.IsInterfaceSupported*"></a>
<h4 id="C1_Util_DX_DXGI_Adapter_IsInterfaceSupported_System_Type_System_Int64__" data-uid="C1.Util.DX.DXGI.Adapter.IsInterfaceSupported(System.Type,System.Int64@)">IsInterfaceSupported(Type, out long)</h4>
<div class="markdown level1 summary"><p>Checks to see if a device interface for a graphics component is supported by the system.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool IsInterfaceSupported(Type type, out long userModeVersion)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function IsInterfaceSupported(type As Type, ByRef userModeVersion As Long) 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.type">Type</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The GUID of the interface of the device version for which support is being checked. For example, typeof(ID3D10Device).GUID.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a></td>
      <td><span class="parametername">userModeVersion</span></td>
      <td><p>The user mode driver version of InterfaceName. This is only returned if the interface is supported.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if the interface is supported; otherwise, <code>false</code>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
