FilterDescriptor.IgnoredValue Property

[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.]

Gets or sets the value that is not applied to a query operation for filtering.

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

Syntax

'Declaration
Public Property IgnoredValue As Object
    Get
    Set
'Usage
Dim instance As FilterDescriptor
Dim value As Object

value = instance.IgnoredValue

instance.IgnoredValue = value
public Object IgnoredValue { get; set; }
public:
property Object^ IgnoredValue {
    Object^ get ();
    void set (Object^ value);
}
member IgnoredValue : Object with get, set
function get IgnoredValue () : Object
function set IgnoredValue (value : Object)

Property Value

Type: System.Object
The value that is not applied to a query operation for filtering.

Remarks

If the Value property matches the IgnoredValue property, the filter is not applied to the load query. The IgnoredValue property is compared two times to the Value property. First, it is strictly compared using an Object.Equals(Object, Object) comparison. Second, both values are converted to the type of the property specified by the PropertyPath property, and compared again. If either conversion matches, this filter is ignored.

See Also

Reference

FilterDescriptor Class

System.Windows.Controls Namespace