# C1.Util.DX.WIC.BitmapDecoder.QueryCapability

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_WIC_BitmapDecoder_QueryCapability_" data-uid="C1.Util.DX.WIC.BitmapDecoder.QueryCapability*">QueryCapability Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_WIC_BitmapDecoder_QueryCapability_" data-uid="C1.Util.DX.WIC.BitmapDecoder.QueryCapability*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_QueryCapability_C1_Util_DX_Storage_IStream_" data-uid="C1.Util.DX.WIC.BitmapDecoder.QueryCapability(C1.Util.DX.Storage.IStream)">QueryCapability(IStream)</h4>
<div class="markdown level1 summary"><p>Queries the capabilities of the decoder based on the specified stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public BitmapDecoderCapabilities QueryCapability(IStream stream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function QueryCapability(stream As IStream) As BitmapDecoderCapabilities</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="C1.Util.DX.Storage.IStream.html">IStream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>The stream to retrieve the decoder capabilities from..</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="C1.Util.DX.WIC.BitmapDecoderCapabilities.html">BitmapDecoderCapabilities</a></td>
      <td><p>Capabilities of the decoder</p>
</td>
    </tr>
  </tbody>
</table>
</div>
