ChannelProperty PropertyChannelProperty Property*
*Contents  *Index  *Topic Contents
*Previous Topic: Properties
*Next Topic: Channels Property

ChannelProperty Property

Synchronously accesses a channel property.

Syntax

value=object.ChannelProperty(ChannelPropertyName[, ChannelName])

Parameters

valueRequired. An object expression that evaluates to a ChatItems object.
objectRequired. An object expression that evaluates to an MsChatPr control.
ChannelPropertyNameRequired. A string that contains one of the valid channel property name values in the following table.
IRCX IRC/IRCX
protocol only    protocols
Account BannedList
ClientData Keyword
ClientGuid MaxMemberCount
CloneList MemberCount
CreationTime    Modes
HostKey Name
Lag Topic
Language
ObjectId
OnJoin
OnPart
OwnerKey
Rating
ServicePath
Subject
ChannelNameOptional. A string expression that can be omitted or empty if there is exactly one open channel in the collection. In this case, the call concerns that uniquely open channel. Otherwise ChannelName must be the Name of an existing channel on the server.

Remarks

Access is read-only.

If the property could not be retrieved within the number of milliseconds specified in the PropertyAccessTimeOut property, an OnChannelProperty event is fired with the requested property.

Example

Dim chatitemobj As ChatItems
Set chatitemobj = MsChatPr1.ChannelProperty("Rating", "#MyRoom")
Set chatitemobj = MsChatPr1.ChannelProperty("Modes") 'There is only one open channel
Set chatitemobj = Nothing

See Also

OnUserProperty, PropertyAccessTimeOut, QueryChannelProperty


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.