Share via


Item Property (String)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Gets an active ChatRoomSession with the specified name. The name is not case sensitive.

Namespace:  Microsoft.Rtc.Collaboration.GroupChat
Assembly:  Microsoft.Rtc.Collaboration.GroupChat (in Microsoft.Rtc.Collaboration.GroupChat.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ChatRoomSession
    Get
'Usage
Dim instance As GroupChatEndpoint
Dim name As String
Dim value As ChatRoomSession

value = instance(name)
public ChatRoomSession this[
    string name
] { get; }

Parameters

Property Value

Type: Microsoft.Rtc.Collaboration.GroupChat.ChatRoomSession
The active chat room session with the specified name, or null if no such session exists.

Exceptions

Exception Condition
ArgumentException

Thrown when invalid arguments are passed.

See Also

Reference

GroupChatEndpoint Class

GroupChatEndpoint Members

Item Overload

Microsoft.Rtc.Collaboration.GroupChat Namespace