 | 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
Syntaxpublic void IGetChanUnit(
int chan,
ref string unit
)
public void IGetChanUnit(
int chan,
ref string unit
)
Public Sub IGetChanUnit (
chan As Integer,
ByRef unit As String
)
Public Sub IGetChanUnit (
chan As Integer,
ByRef unit As String
)
public:
void IGetChanUnit(
int chan,
String^% unit
)
public:
void IGetChanUnit(
int chan,
String^% unit
)
member IGetChanUnit :
chan : int *
unit : string byref -> unit
member IGetChanUnit :
chan : int *
unit : string byref -> 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