 | CDBIGetChanClass 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
Syntaxpublic void IGetChanClass(
int chan,
ref string cl,
int length
)
public void IGetChanClass(
int chan,
ref string cl,
int length
)
Public Sub IGetChanClass (
chan As Integer,
ByRef cl As String,
length As Integer
)
Public Sub IGetChanClass (
chan As Integer,
ByRef cl As String,
length As Integer
)
public:
void IGetChanClass(
int chan,
String^% cl,
int length
)
public:
void IGetChanClass(
int chan,
String^% cl,
int length
)
member IGetChanClass :
chan : int *
cl : string byref *
length : int -> unit
member IGetChanClass :
chan : int *
cl : string byref *
length : int -> unit
Parameters
- chan
- Type: SystemInt32
Channel handle - cl
- Type: SystemString
Returned class into - length
- Type: SystemInt32
Size of string
Remarks
The channel label is stored in the "CLASS" parameter
of the channel reg. If no class is defined, then an
empty string is returned.
The channel must be locked <define>DB_LOCK_READONLY</define> or <define>DB_LOCK_READWRITE</define>
See Also