# C1.DataCollection.C1SortDataCollection-1.Cache

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_DataCollection_C1SortDataCollection_1_Cache_" data-uid="C1.DataCollection.C1SortDataCollection`1.Cache*">Cache Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_DataCollection_C1SortDataCollection_1_Cache_" data-uid="C1.DataCollection.C1SortDataCollection`1.Cache*"></a>
<h4 id="C1_DataCollection_C1SortDataCollection_1_Cache" data-uid="C1.DataCollection.C1SortDataCollection`1.Cache">Cache</h4>
<div class="markdown level1 summary"><p>Gets or sets the cache used to store compiled predicates.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1SortDataCollection&lt;T&gt;.SortCache? Cache { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Cache As C1SortDataCollection(Of T).SortCache</code></pre>
</div>
<h5 id="C1_DataCollection_C1SortDataCollection_1_Cache_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Using the same cache between multiple collections can accelerate sorting when they use the same sort path.</p>
</div>
</div>
