ComparisonFilter.Value Property
Gets or sets the value to compare against.
Namespace: Microsoft.Office.BusinessData.Runtime
Assembly: Microsoft.Office.BusinessData (in Microsoft.Office.BusinessData.dll)
Syntax
'Declaration
Public Overridable Property Value As Object
Get
Set
'Usage
Dim instance As ComparisonFilter
Dim value As Object
value = instance.Value
instance.Value = value
public virtual Object Value { get; set; }
Property Value
Type: System.Object
The value to compare against.
Remarks
The type of value to set must be the same as the type of the comparison filter. Alternatively, if this not the case and if the comparison filter type is Nullable<T>, then the type of the value to set can be the same as the generic argument T. In all other cases, this property returns an InvalidCastException. You can obtain the type of the comparison filter by calling the inherited method UserInputFilter.GetFilterValueTypeDescriptorsType().