Provides access to members that control the collection of record numbers, and to compare record number collections. Record number sets are used in selections with file based data.
Members
Name | Description | |
---|---|---|
Add | Adds a record number to the collection. | |
AddRange | Adds a range of record numbers to the collection starting with the minRecord and ending with the maxRecord. | |
And | Combines the record numbers that are common to both collections into a single collection. | |
ClearAll | Clear all record numbers. | |
Delete | Removes a record number from the collection. | |
Difference | Returns the record numbers that are not in the collection, but are present in the input collection. | |
IDs | Enumerates the record numbers in the record number collection. | |
MaximumRecordNumber | The maximum record in the record number collection. | |
MinimumRecordNumber | The minimum record in the record number collection. | |
Negate | Inverts the collection; selected records become unselected and unselected records become selected. | |
Or | Combines all the record numbers that are in one or the other collection into a single collection. | |
SetAll | Set all record numbers. | |
SetBounds | Sets the starting and ending record numbers for the record number collection, then adds all record numbers between those values to the collection. | |
XOr | Combines the record numbers that are in one of the collections, but not both collections, into a single collection. |
IRecordNumberSet.Add Method
Adds a record number to the collection.
Public Sub Add ( _
ByVal recordNumber As Integer _
)
public void Add (
int recordNumber
);
IRecordNumberSet.AddRange Method
Adds a range of record numbers to the collection starting with the minRecord and ending with the maxRecord.
Public Sub AddRange ( _
ByVal minRecord As Integer, _
ByVal maxRecord As Integer _
)
public void AddRange (
int minRecord,
int maxRecord
);
IRecordNumberSet.And Method
Combines the record numbers that are common to both collections into a single collection.
Public Function And ( _
ByVal otherRecordNumberSet As IRecordNumberSet _
) As IRecordNumberSet
public IRecordNumberSet And (
IRecordNumberSet otherRecordNumberSet
);
IRecordNumberSet.ClearAll Method
Clear all record numbers.
Public Sub ClearAll ( _
)
public void ClearAll (
);
IRecordNumberSet.Delete Method
Removes a record number from the collection.
Public Sub Delete ( _
ByVal recordNumber As Integer _
)
public void Delete (
int recordNumber
);
IRecordNumberSet.Difference Method
Returns the record numbers that are not in the collection, but are present in the input collection.
Public Function Difference ( _
ByVal otherRecordNumberSet As IRecordNumberSet _
) As IRecordNumberSet
public IRecordNumberSet Difference (
IRecordNumberSet otherRecordNumberSet
);
IRecordNumberSet.IDs Property
Enumerates the record numbers in the record number collection.
Public ReadOnly Property IDs As IEnumIDs
public IEnumIDs IDs {get;}
IRecordNumberSet.MaximumRecordNumber Property
The maximum record in the record number collection.
Public ReadOnly Property MaximumRecordNumber As Integer
public int MaximumRecordNumber {get;}
IRecordNumberSet.MinimumRecordNumber Property
The minimum record in the record number collection.
Public ReadOnly Property MinimumRecordNumber As Integer
public int MinimumRecordNumber {get;}
IRecordNumberSet.Negate Method
Inverts the collection; selected records become unselected and unselected records become selected.
Public Function Negate ( _
) As IRecordNumberSet
public IRecordNumberSet Negate (
);
IRecordNumberSet.Or Method
Combines all the record numbers that are in one or the other collection into a single collection.
Public Function Or ( _
ByVal otherRecordNumberSet As IRecordNumberSet _
) As IRecordNumberSet
public IRecordNumberSet Or (
IRecordNumberSet otherRecordNumberSet
);
IRecordNumberSet.SetAll Method
Set all record numbers.
Public Sub SetAll ( _
)
public void SetAll (
);
IRecordNumberSet.SetBounds Method
Sets the starting and ending record numbers for the record number collection, then adds all record numbers between those values to the collection.
Public Sub SetBounds ( _
ByVal startRecordNumber As Integer, _
ByVal maxRecordNumber As Integer _
)
public void SetBounds (
int startRecordNumber,
int maxRecordNumber
);
IRecordNumberSet.XOr Method
Combines the record numbers that are in one of the collections, but not both collections, into a single collection.
Public Function XOr ( _
ByVal otherRecordNumberSet As IRecordNumberSet _
) As IRecordNumberSet
public IRecordNumberSet XOr (
IRecordNumberSet otherRecordNumberSet
);
Classes that implement IRecordNumberSet
Classes | Description |
---|---|
RecordNumberSet | A collection of record numbers. Record number sets are used in selections with file based data. |