1<?xml version="1.0" encoding="utf-8"?> 2<Type Name="ObjectDataSourceFilteringEventArgs" FullName="System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs"> 3 <TypeSignature Language="C#" Value="public class ObjectDataSourceFilteringEventArgs : System.ComponentModel.CancelEventArgs" /> 4 <AssemblyInfo> 5 <AssemblyName>System.Web</AssemblyName> 6 <AssemblyVersion>2.0.0.0</AssemblyVersion> 7 </AssemblyInfo> 8 <Base> 9 <BaseTypeName>System.ComponentModel.CancelEventArgs</BaseTypeName> 10 </Base> 11 <Interfaces /> 12 <Docs> 13 <since version=".NET 2.0" /> 14 <remarks> 15 <attribution license="cc4" from="Microsoft" modified="false" /> 16 <para>The <see cref="T:System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs" /> class is used to pass data to the <see cref="E:System.Web.UI.WebControls.ObjectDataSource.Filtering" /> event handler of the <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> control. The <see cref="P:System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs.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.ObjectDataSource.Select" /> method by setting the <see cref="P:System.ComponentModel.CancelEventArgs.Cancel" /> property of the <see cref="T:System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs" /> to true.</para> 17 </remarks> 18 <summary> 19 <attribution license="cc4" from="Microsoft" modified="false" /> 20 <para>Provides data for the <see cref="E:System.Web.UI.WebControls.ObjectDataSource.Filtering" /> event of the <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> control.</para> 21 </summary> 22 </Docs> 23 <Members> 24 <Member MemberName=".ctor"> 25 <MemberSignature Language="C#" Value="public ObjectDataSourceFilteringEventArgs (System.Collections.Specialized.IOrderedDictionary parameterValues);" /> 26 <MemberType>Constructor</MemberType> 27 <Parameters> 28 <Parameter Name="parameterValues" Type="System.Collections.Specialized.IOrderedDictionary" /> 29 </Parameters> 30 <Docs> 31 <since version=".NET 2.0" /> 32 <remarks> 33 <attribution license="cc4" from="Microsoft" modified="false" /> 34 <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.ObjectDataSource.FilterExpression" /> property when the <see cref="M:System.Web.UI.WebControls.ObjectDataSource.Select" /> method runs.</para> 35 </remarks> 36 <summary> 37 <attribution license="cc4" from="Microsoft" modified="false" /> 38 <para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs" /> class by using the specified object.</para> 39 </summary> 40 <param name="parameterValues"> 41 <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Collections.Specialized.IOrderedDictionary" /> of <see cref="T:System.Web.UI.WebControls.Parameter" /> objects.</param> 42 </Docs> 43 <AssemblyInfo> 44 <AssemblyVersion>2.0.0.0</AssemblyVersion> 45 </AssemblyInfo> 46 </Member> 47 <Member MemberName="ParameterValues"> 48 <MemberSignature Language="C#" Value="public System.Collections.Specialized.IOrderedDictionary ParameterValues { get; }" /> 49 <MemberType>Property</MemberType> 50 <ReturnValue> 51 <ReturnType>System.Collections.Specialized.IOrderedDictionary</ReturnType> 52 </ReturnValue> 53 <Docs> 54 <value>To be added.</value> 55 <since version=".NET 2.0" /> 56 <remarks> 57 <attribution license="cc4" from="Microsoft" modified="false" /> 58 <para>The <see cref="T:System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs" /> class is used to pass data to the <see cref="E:System.Web.UI.WebControls.ObjectDataSource.Filtering" /> event handler of the <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> object. The <see cref="P:System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs.ParameterValues" /> property provides access to the filter parameter values before the filtering operation is performed. </para> 59 <block subset="none" type="note"> 60 <para>You should validate any filter parameter value that you receive from the client. The runtime simply substitutes the parameter value into the filter expression and applies it to the <see cref="T:System.Data.DataView" /> object that is returned by the <see cref="M:System.Web.UI.WebControls.ObjectDataSource.Select" /> method. If you are using the <see cref="P:System.Web.UI.WebControls.ObjectDataSource.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> 61 </block> 62 </remarks> 63 <summary> 64 <attribution license="cc4" from="Microsoft" modified="false" /> 65 <para>Gets an <see cref="T:System.Collections.Specialized.IOrderedDictionary" /> interface that provides access to the <see cref="T:System.Web.UI.WebControls.Parameter" /> objects of the <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> class.</para> 66 </summary> 67 </Docs> 68 <AssemblyInfo> 69 <AssemblyVersion>2.0.0.0</AssemblyVersion> 70 </AssemblyInfo> 71 </Member> 72 </Members> 73</Type>