Click or drag to resize

CDBIGetChanUnit Method (Int32, String)

This method Gets a channel's unit

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void IGetChanUnit(
	int chan,
	ref string unit
)

public void IGetChanUnit(
	int chan,
	ref string unit
)

Parameters

chan
Type: SystemInt32
Channel handle
unit
Type: SystemString
String to place unit into
Remarks
The unit label is stored in the "UNITS" parameter of the channel reg. The channel must be locked <define>DB_LOCK_READONLY</define> or <define>DB_LOCK_READWRITE</define>
See Also