# FarPoint.Win.Spread.Data.SpreadDataRowView.GetEvents

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Data_SpreadDataRowView_GetEvents_" data-uid="FarPoint.Win.Spread.Data.SpreadDataRowView.GetEvents*">GetEvents Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Data_SpreadDataRowView_GetEvents_" data-uid="FarPoint.Win.Spread.Data.SpreadDataRowView.GetEvents*"></a>
<h4 id="FarPoint_Win_Spread_Data_SpreadDataRowView_GetEvents_System_Attribute___" data-uid="FarPoint.Win.Spread.Data.SpreadDataRowView.GetEvents(System.Attribute[])">GetEvents(Attribute[])</h4>
<div class="markdown level1 summary"><p>Returns the events for this instance of a component using the specified attribute array as a filter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public EventDescriptorCollection GetEvents(Attribute[] attributes)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetEvents(attributes As Attribute()) As EventDescriptorCollection</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="https://learn.microsoft.com/dotnet/api/system.attribute">Attribute</a>[]</td>
      <td><span class="parametername">attributes</span></td>
      <td><p>An array of type <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.attribute">Attribute</a> that is used as a filter</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="https://learn.microsoft.com/dotnet/api/system.componentmodel.eventdescriptorcollection">EventDescriptorCollection</a></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.eventdescriptorcollection">EventDescriptorCollection</a> that represents the filtered events for this component instance.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icustomtypedescriptor.getevents#system-componentmodel-icustomtypedescriptor-getevents(system-attribute())">ICustomTypeDescriptor.GetEvents(Attribute[])</a></div>


<a id="FarPoint_Win_Spread_Data_SpreadDataRowView_GetEvents_" data-uid="FarPoint.Win.Spread.Data.SpreadDataRowView.GetEvents*"></a>
<h4 id="FarPoint_Win_Spread_Data_SpreadDataRowView_GetEvents" data-uid="FarPoint.Win.Spread.Data.SpreadDataRowView.GetEvents">GetEvents()</h4>
<div class="markdown level1 summary"><p>Returns the events for this instance of a component.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public EventDescriptorCollection GetEvents()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetEvents() As EventDescriptorCollection</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.componentmodel.eventdescriptorcollection">EventDescriptorCollection</a></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.eventdescriptorcollection">EventDescriptorCollection</a> that represents the events for this component instance.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icustomtypedescriptor.getevents#system-componentmodel-icustomtypedescriptor-getevents">ICustomTypeDescriptor.GetEvents()</a></div>
</div>
