 | CDUSortIndex2 Method |
Create an ordered index from two channels. The order of rows where compared items are the same is preserved.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void SortIndex2(
CDB db,
int line,
int ch1,
int sort1,
int ch2,
int sort2,
int in_ch
)
public static void SortIndex2(
CDB db,
int line,
int ch1,
int sort1,
int ch2,
int sort2,
int in_ch
)
Public Shared Sub SortIndex2 (
db As CDB,
line As Integer,
ch1 As Integer,
sort1 As Integer,
ch2 As Integer,
sort2 As Integer,
in_ch As Integer
)
Public Shared Sub SortIndex2 (
db As CDB,
line As Integer,
ch1 As Integer,
sort1 As Integer,
ch2 As Integer,
sort2 As Integer,
in_ch As Integer
)
public:
static void SortIndex2(
CDB^ db,
int line,
int ch1,
int sort1,
int ch2,
int sort2,
int in_ch
)
public:
static void SortIndex2(
CDB^ db,
int line,
int ch1,
int sort1,
int ch2,
int sort2,
int in_ch
)
static member SortIndex2 :
db : CDB *
line : int *
ch1 : int *
sort1 : int *
ch2 : int *
sort2 : int *
in_ch : int -> unit
static member SortIndex2 :
db : CDB *
line : int *
ch1 : int *
sort1 : int *
ch2 : int *
sort2 : int *
in_ch : int -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - line
- Type: SystemInt32
Line symbol - ch1
- Type: SystemInt32
Sort by this channel [<define>DB_LOCK_READONLY</define>] - sort1
- Type: SystemInt32
<define>DU_SORT</define> - ch2
- Type: SystemInt32
Then by this channel [<define>DB_LOCK_READONLY</define>] - sort2
- Type: SystemInt32
<define>DU_SORT</define> - in_ch
- Type: SystemInt32
Output index channel (should be int) [<define>DB_LOCK_READWRITE</define>]
See Also