Share via


ChatRoom.AllowFileUpload Property

Gets the default behavior of this chat room for allowing file uploads. File upload privileges may be restricted on a chat room, category, user, or user group level.

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

Syntax

'Declaration
Public Property AllowFileUpload As InheritedChatRoomProperty
    Get
    Private Set
'Usage
Dim instance As ChatRoom
Dim value As InheritedChatRoomProperty

value = instance.AllowFileUpload
public InheritedChatRoomProperty AllowFileUpload { get; private set; }

Property Value

Type: Microsoft.Rtc.Collaboration.GroupChat.InheritedChatRoomProperty
A data structure which conveys the value set on this chat room (if any), the value which is inherited from the parent category, and the effective value which is used.

Remarks

The value of this property is derived by combining the value set on this instance (if any) with the value that is inherited from the parent category. The default value is nulla null reference (Nothing in Visual Basic), which causes the chat room to inherit the value set by the parent category. Initially, the value of this property is set to true on the root category.

See Also

Reference

ChatRoom Class

ChatRoom Members

Microsoft.Rtc.Collaboration.GroupChat Namespace