# C1.Util.DX.Direct2D.CommandList.Stream

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_CommandList_Stream_" data-uid="C1.Util.DX.Direct2D.CommandList.Stream*">Stream Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_CommandList_Stream_" data-uid="C1.Util.DX.Direct2D.CommandList.Stream*"></a>
<h4 id="C1_Util_DX_Direct2D_CommandList_Stream_C1_Util_DX_Direct2D_CommandSink_" data-uid="C1.Util.DX.Direct2D.CommandList.Stream(C1.Util.DX.Direct2D.CommandSink)">Stream(CommandSink)</h4>
<div class="markdown level1 summary"><p>Streams the contents of the command list to the specified command sink.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Stream(CommandSink sink)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Stream(sink As CommandSink)</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.Direct2D.CommandSink.html">CommandSink</a></td>
      <td><span class="parametername">sink</span></td>
      <td><p>The sink into which the command list will be streamed.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct2D_CommandList_Stream_" data-uid="C1.Util.DX.Direct2D.CommandList.Stream*"></a>
<h4 id="C1_Util_DX_Direct2D_CommandList_Stream_C1_Util_DX_Direct2D_CommandSink1_" data-uid="C1.Util.DX.Direct2D.CommandList.Stream(C1.Util.DX.Direct2D.CommandSink1)">Stream(CommandSink1)</h4>
<div class="markdown level1 summary"><p>Streams the contents of the command list to the specified command sink.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Stream(CommandSink1 sink)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Stream(sink As CommandSink1)</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.Direct2D.CommandSink1.html">CommandSink1</a></td>
      <td><span class="parametername">sink</span></td>
      <td><p>The sink into which the command list will be streamed.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
