RoomTopic PropertyRoomTopic Property*
*



Contents  *



Index  *Topic Contents
*Previous Topic: RoomPath Property
*Next Topic: State Property

RoomTopic Property

Retrieves or sets the chat room's topic. This property can be used to set the topic when creating a chat room, to change the topic when the user is in the room, or to get the current topic of the room that the user is in.

Syntax

object.RoomTopic[=value]

Parameters

objectRequired. An object expression that evaluates to a Chat control.
valueOptional. A BSTR value that indicates the topic name to be set.

Return Value

Returns a BSTR value that contains the topic name of the chat room that the user is currently in.

Remarks

The user cannot set or modify the topic if the chat room was created with the value in the EnterRoom method set to (Type=2), which allows only the host to change the topic, and the user is not the host.

See Also

OnRoomTopicChanged


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