# GrapeCity.ActiveReports.Design.Selection.GetEnumerator

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Design_Selection_GetEnumerator_" data-uid="GrapeCity.ActiveReports.Design.Selection.GetEnumerator*">GetEnumerator Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_Selection_GetEnumerator_" data-uid="GrapeCity.ActiveReports.Design.Selection.GetEnumerator*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Selection_GetEnumerator" data-uid="GrapeCity.ActiveReports.Design.Selection.GetEnumerator">GetEnumerator()</h4>
<div class="markdown level1 summary"><p>Returns an enumerator that iterates through the collection of selected components.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IEnumerator GetEnumerator()</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.collections.ienumerator">IEnumerator</a></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerator">IEnumerator</a> object that can be used to iterate through the collection.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable.getenumerator">IEnumerable.GetEnumerator()</a></div>
<h5 id="GrapeCity_ActiveReports_Design_Selection_GetEnumerator_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method provides an enumerator for the collection of components currently selected in the ActiveReports designer environment.
It allows for enumeration over the selected components, enabling operations such as iteration and inspection of the selection set.
This can be particularly useful for extensions or functionalities that need to interact with or modify the set of selected components in the designer.</p>
</div>
</div>
