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

Visual Basic (Declaration)
Public 
ReadOnly 
Default 
Property 
Item ( _
	
name 
As 
String _
) 
As 

ChatRoomSession
	
Get
Visual Basic (Usage)
Dim 
instance 
As 

GroupChatEndpoint
Dim 
name 
As 
String
Dim 
value 
As 

ChatRoomSession

value = instance(
name)
C#
public 

ChatRoomSession 
this[
	
string 
name
] { 
get; }

Parameters

name
Type: System . . :: . . String

Name of the item to be retrieved.

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