![]() | ![]() | ![]() |
| ||
|
ConnectionType Property
Returns the type of connection (IRC or IRCX) established with the chat server.
Syntax
value=object.ConnectionType
Parameters
value A variable of enumConnectionType type. The enumConnectionType is made of the values ctIRC = 0 and ctIRCX = 1. object Required. An object expression that evaluates to an MsChatPr control. Remarks
Access is read-only.
If a server is an IRCX server, the control automatically switches to the IRCX mode at connection time.
The ConnectionType property is accessible as soon as the OnConnectionState event is fired after calling the Connect method, or as soon as the OnConnectionState event is fired after calling the Login method.
Example
Dim ct As enumConnectionType ct = MsChatPr1.ConnectionTypeSee Also
Connect, Login, OnConnectionState
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.