Interface IRecordNumberSet

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

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.

[Guid("33572F5A-46C7-11D4-A124-00C04F6BDF0E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRecordNumberSet

Properties

IDs

Enumerates the record numbers in the record number collection.

IEnumIDs IDs { get; }

Property Value

IEnumIDs

MaximumRecordNumber

The maximum record in the record number collection.

int MaximumRecordNumber { get; }

Property Value

int

MinimumRecordNumber

The minimum record in the record number collection.

int MinimumRecordNumber { get; }

Property Value

int

Methods

Add(int)

Adds a record number to the collection.

void Add(int recordNumber)

Parameters

recordNumber int

AddRange(int, int)

Adds a range of record numbers to the collection starting with the minRecord and ending with the maxRecord.

void AddRange(int minRecord, int maxRecord)

Parameters

minRecord int
maxRecord int

And(IRecordNumberSet)

Combines the record numbers that are common to both collections into a single collection.

IRecordNumberSet And(IRecordNumberSet otherRecordNumberSet)

Parameters

otherRecordNumberSet IRecordNumberSet

Returns

IRecordNumberSet

ClearAll()

Clear all record numbers.

void ClearAll()

Delete(int)

Removes a record number from the collection.

void Delete(int recordNumber)

Parameters

recordNumber int

Difference(IRecordNumberSet)

Returns the record numbers that are not in the collection, but are present in the input collection.

IRecordNumberSet Difference(IRecordNumberSet otherRecordNumberSet)

Parameters

otherRecordNumberSet IRecordNumberSet

Returns

IRecordNumberSet

Negate()

Inverts the collection; selected records become unselected and unselected records become selected.

IRecordNumberSet Negate()

Returns

IRecordNumberSet

Or(IRecordNumberSet)

Combines all the record numbers that are in one or the other collection into a single collection.

IRecordNumberSet Or(IRecordNumberSet otherRecordNumberSet)

Parameters

otherRecordNumberSet IRecordNumberSet

Returns

IRecordNumberSet

SetAll()

Set all record numbers.

void SetAll()

SetBounds(int, int)

Sets the starting and ending record numbers for the record number collection, then adds all record numbers between those values to the collection.

void SetBounds(int startRecordNumber, int maxRecordNumber)

Parameters

startRecordNumber int
maxRecordNumber int

XOr(IRecordNumberSet)

Combines the record numbers that are in one of the collections, but not both collections, into a single collection.

IRecordNumberSet XOr(IRecordNumberSet otherRecordNumberSet)

Parameters

otherRecordNumberSet IRecordNumberSet

Returns

IRecordNumberSet