Compartilhar via


FilterDescriptor Constructor (String, FilterOperator, Object)

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Initializes a new instance of the FilterDescriptor class with the specified property to use for filtering, the operator to use when evaluating the filtering check, and the filter value.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Public Sub New ( _
    propertyPath As String, _
    filterOperator As FilterOperator, _
    filterValue As Object _
)
'Usage
Dim propertyPath As String
Dim filterOperator As FilterOperator
Dim filterValue As Object

Dim instance As New FilterDescriptor(propertyPath, _
    filterOperator, filterValue)
public FilterDescriptor(
    string propertyPath,
    FilterOperator filterOperator,
    Object filterValue
)
public:
FilterDescriptor(
    String^ propertyPath, 
    FilterOperator filterOperator, 
    Object^ filterValue
)
new : 
        propertyPath:string * 
        filterOperator:FilterOperator * 
        filterValue:Object -> FilterDescriptor
public function FilterDescriptor(
    propertyPath : String, 
    filterOperator : FilterOperator, 
    filterValue : Object
)

Parameters

  • propertyPath
    Type: System.String
    The property path to use for filtering.
  • filterValue
    Type: System.Object
    The value to use when filtering.

See Also

Reference

FilterDescriptor Class

FilterDescriptor Overload

System.Windows.Controls Namespace