Method NewByteRange
NewByteRange(String, Nullable<SByte>, Nullable<SByte>, Boolean, Boolean)
Creates a numeric range filter using . This works with all
byte fields containing exactly one numeric term in the field. The range can be half-open by setting one
of the values to null
.
Declaration
public static FieldCacheRangeFilter<sbyte?> NewByteRange(string field, sbyte? lowerVal, sbyte? upperVal, bool includeLower, bool includeUpper)
Parameters
Type |
Name |
Description |
System.String |
field |
|
System.Nullable<System.SByte> |
lowerVal |
|
System.Nullable<System.SByte> |
upperVal |
|
System.Boolean |
includeLower |
|
System.Boolean |
includeUpper |
|
Returns
NewByteRange(String, ByteParser, Nullable<SByte>, Nullable<SByte>, Boolean, Boolean)
Creates a numeric range filter using . This works with all
byte fields containing exactly one numeric term in the field. The range can be half-open by setting one
of the values to null
.
Declaration
public static FieldCacheRangeFilter<sbyte?> NewByteRange(string field, ByteParser parser, sbyte? lowerVal, sbyte? upperVal, bool includeLower, bool includeUpper)
Parameters
Type |
Name |
Description |
System.String |
field |
|
ByteParser |
parser |
|
System.Nullable<System.SByte> |
lowerVal |
|
System.Nullable<System.SByte> |
upperVal |
|
System.Boolean |
includeLower |
|
System.Boolean |
includeUpper |
|
Returns