# C1.Win.Accessibility.Items.ProviderExt.SelectExt

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Accessibility_Items_ProviderExt_SelectExt_" data-uid="C1.Win.Accessibility.Items.ProviderExt.SelectExt*">SelectExt Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Accessibility_Items_ProviderExt_SelectExt_" data-uid="C1.Win.Accessibility.Items.ProviderExt.SelectExt*"></a>
<h4 id="C1_Win_Accessibility_Items_ProviderExt_SelectExt_C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_C1_Win_Accessibility_UiaItem_" data-uid="C1.Win.Accessibility.Items.ProviderExt.SelectExt(C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider,C1.Win.Accessibility.UiaItem)">SelectExt(IUiaSelectionItemProvider, UiaItem)</h4>
<div class="markdown level1 summary"><p>Sets the current element as the selection and raises <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.automation.selectionitempattern.elementselectedevent">ElementSelectedEvent</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void SelectExt(this IUiaSelectionItemProvider selectionItem, UiaItem uiaItem)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub SelectExt(selectionItem As IUiaSelectionItemProvider, uiaItem As UiaItem)</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.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.html">IUiaSelectionItemProvider</a></td>
      <td><span class="parametername">selectionItem</span></td>
      <td><p>An item that implements <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.html">IUiaSelectionItemProvider</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Accessibility.UiaItem.html">UiaItem</a></td>
      <td><span class="parametername">uiaItem</span></td>
      <td><p>An <a class="xref" href="C1.Win.Accessibility.UiaItem.html">UiaItem</a> that implements <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.automation.selectionitempattern">SelectionItemPattern</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
