Click or drag to resize

CLSTiFindItemMask Method

Searches the list for a specified item, list contains masks.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int iFindItemMask(
	int type,
	string name
)

public int iFindItemMask(
	int type,
	string name
)

Parameters

type
Type: SystemInt32
<define>LST_ITEM</define> data to search
name
Type: SystemString
String to try LST mask items on Search For

Return Value

Type: Int32
x - Item Number -1 - Not Found
Remarks
Comparsions are case-intolerant (unlike iFindItem_LST). This means items in the list such as "*(ppm)" will be found if the input search string is "Ni (ppm)" or "Ni(ppm)", but not if it is "Ni (PPM)", so you should include both "*ppm*" and "*PPM*". It is NOT the input string that should be the mask, but the LST items themselves This function was designed originally for geochemical processes in order to identify if a given channel name indicates that the channel should be given the "Assay" class.
See Also