﻿<?xml version="1.0" encoding="utf-8"?><Type Name="SqlDataSourceFilteringEventArgs" FullName="System.Web.UI.WebControls.SqlDataSourceFilteringEventArgs"><TypeSignature Language="C#" Value="public class SqlDataSourceFilteringEventArgs : System.ComponentModel.CancelEventArgs" /><AssemblyInfo><AssemblyName>System.Web</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.ComponentModel.CancelEventArgs</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.UI.WebControls.SqlDataSourceFilteringEventArgs" /> class is used to pass data to the <see cref="E:System.Web.UI.WebControls.SqlDataSource.Filtering" /> event handler of the <see cref="T:System.Web.UI.WebControls.SqlDataSource" /> control. The <see cref="P:System.Web.UI.WebControls.SqlDataSourceFilteringEventArgs.ParameterValues" /> property provides access to the filter parameter values before the filtering operation is performed. You can cancel the <see cref="M:System.Web.UI.WebControls.SqlDataSource.Select(System.Web.UI.DataSourceSelectArguments)" /> method by setting the <see cref="P:System.ComponentModel.CancelEventArgs.Cancel" /> property of the <see cref="T:System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs" /> to true. Filtering is supported when the <see cref="P:System.Web.UI.WebControls.SqlDataSource.DataSourceMode" /> property is set to the <see cref="F:System.Web.UI.WebControls.SqlDataSourceMode.DataSet" /> value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides data for the <see cref="E:System.Web.UI.WebControls.SqlDataSource.Filtering" /> event of the <see cref="T:System.Web.UI.WebControls.SqlDataSource" /> control.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public SqlDataSourceFilteringEventArgs (System.Collections.Specialized.IOrderedDictionary param_values);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="param_values" Type="System.Collections.Specialized.IOrderedDictionary" /></Parameters><Docs><param name="param_values">To be added.</param><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The parameters in the <paramref name="parameterValues" /> collection are associated with any parameters that are specified in the <see cref="P:System.Web.UI.WebControls.SqlDataSource.FilterExpression" /> property when the <see cref="Overload:System.Web.UI.WebControls.SqlDataSourceView.Select" /> method runs.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.SqlDataSourceFilteringEventArgs" /> class by using the specified object.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ParameterValues"><MemberSignature Language="C#" Value="public System.Collections.Specialized.IOrderedDictionary ParameterValues { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Collections.Specialized.IOrderedDictionary</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.UI.WebControls.SqlDataSourceFilteringEventArgs" /> class is used to pass data to the <see cref="E:System.Web.UI.WebControls.SqlDataSource.Filtering" /> event handler of the <see cref="T:System.Web.UI.WebControls.SqlDataSource" />. The <see cref="P:System.Web.UI.WebControls.SqlDataSourceFilteringEventArgs.ParameterValues" /> property provides access to the filter parameter values before the filtering operation is performed. </para><block subset="none" type="note"><para>You should validate any filter parameter values that you receive from the client and cancel the select operation if there are invalid parameters. The runtime simply substitutes the parameter value into the filter expression and applies it to the result of the select method. It is possible for compromised values to alter the filter expression in such a way as to reveal more rows than might otherwise be visible to the client. If you are using the <see cref="P:System.Web.UI.WebControls.SqlDataSource.FilterExpression" /> property as a security measure to limit the number of items that are returned, you must validate the parameter values before the filtering occurs.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets an <see cref="T:System.Collections.Specialized.IOrderedDictionary" /> object that provides access to the <see cref="T:System.Web.UI.WebControls.Parameter" /> objects of the <see cref="T:System.Web.UI.WebControls.SqlDataSource" /> class.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>