Partilhar via


DbRangeOptions Enumeration

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Options used by SetRange when specifying the index range over which to Seek.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

  [Visual Basic]
<Flags>
<Serializable>
Public Enum DbRangeOptions
[C#]
[Flags]
[Serializable]
public enum DbRangeOptions
[C++]
[Flags]
[Serializable]
__value public enum DbRangeOptions
[JScript]
public
   Flags
 Serializable
enum DbRangeOptions

Remarks

When specifying the Match or Prefix options, the endData value must be null.

You cannot combine the Match and ExcludeNulls options.

Members

Member name Description Value
Default

Supported only by the .NET Compact Framework.

Equivalent to InclusiveStart | InclusiveEnd. 0
ExcludeNulls

Supported only by the .NET Compact Framework.

Excludes null values from the range. 4
ExclusiveEnd

Supported only by the .NET Compact Framework.

Excludes the endData value from the range. 2
ExclusiveStart

Supported only by the .NET Compact Framework.

Excludes the startData value from the range. 1
InclusiveEnd

Supported only by the .NET Compact Framework.

Includes the endData value in the range. 0
InclusiveStart

Supported only by the .NET Compact Framework.

Includes the startData value in the range. 0
Match

Supported only by the .NET Compact Framework.

Specifies a range where index values match the value of startData. In this case, endData must be set to null. 16
Prefix

Supported only by the .NET Compact Framework.

Specifies a range where index values begin with the value of startData. In this case, endData must be set to null. 8

Requirements

Namespace: System.Data.SqlServerCe

Platforms: .NET Compact Framework

Assembly: System.Data.Sqlserverce (in System.Data.Sqlserverce.dll)

See Also

System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.