Share via


Filter Class

Contains a list of filters that restrict rows of data in a dataset or data region, or restrict group instances in a grouping.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.Filter

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Class Filter _
    Inherits ReportObject
'Usage
Dim instance As Filter
public class Filter : ReportObject
public ref class Filter : public ReportObject
type Filter =  
    class 
        inherit ReportObject 
    end
public class Filter extends ReportObject

The Filter type exposes the following members.

Constructors

  Name Description
Public method Filter Initializes a new instance of the Filter class.

Top

Properties

  Name Description
Public property ComponentMetadata Gets or sets the component metadata. (Inherited from ReportObject.)
Public property FilterExpression Gets or sets an expression that is evaluated for each row of data or group and compared to a filter value.
Public property FilterValues Gets or sets a collection of values to compare to the filter expression.
Public property Operator Gets or sets the operator to use to compare the values in the FilterExpression and FilterValues properties.
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
Public property Site Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.)

Top

Methods

  Name Description
Public method DeepClone Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.)
Public method Equals(Object) Tests the equality of this object and another object. (Overrides Object.Equals(Object).)
Public method Equals(Filter) Tests the equality of this object and another Filter object.
Protected method Finalize (Inherited from Object.)
Public method GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.)
Protected method GetDependenciesCore Infrastructure. Returns the dependencies core for the ReportObject object. (Inherited from ReportObject.)
Public method GetHashCode Gets a unique hash code for the current instance. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes the current Filter instance. (Overrides ReportObject.Initialize().)
Protected method InitializeForDesigner Infrastructure. Initializes the report object for designer. (Inherited from ReportObject.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. Indicates whether the RDL semantic is equal to the core objects. (Overrides ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Protected method SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (Inherited from ReportObject.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace