Click or drag to resize

CDBIGetChanLabel Method (Int32, String, Int32)

This method gets a channel's label

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

public void IGetChanLabel(
	int chan,
	ref string label,
	int length
)

Parameters

chan
Type: SystemInt32
Channel handle
label
Type: SystemString
Returned label into
length
Type: SystemInt32
Size of string
Remarks
The channel label is stored in the "LABEL" parameter of the channel reg. If the setting is empty, the channel name is returned. The channel must be locked <define>DB_LOCK_READONLY</define> or <define>DB_LOCK_READWRITE</define>
See Also