# C1.Web.Mvc.ODataCollectionViewService-1.Aggregates

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_ODataCollectionViewService_1_Aggregates_" data-uid="C1.Web.Mvc.ODataCollectionViewService`1.Aggregates*">Aggregates Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_ODataCollectionViewService_1_Aggregates_" data-uid="C1.Web.Mvc.ODataCollectionViewService`1.Aggregates*"></a>
<h4 id="C1_Web_Mvc_ODataCollectionViewService_1_Aggregates" data-uid="C1.Web.Mvc.ODataCollectionViewService`1.Aggregates">Aggregates</h4>
<div class="markdown level1 summary"><p>Gets or sets the aggregates query parsed by the OData API which returns the aggregates as result. This property should be set when GroupOnServer is true and groupDescriptions are defined. The format follows OData AggregationMethods specification.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string Aggregates { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Aggregates As String</code></pre>
</div>
</div>
