Share via


ChatRoomCategorySettings.AllowFileUpload Property

Gets or sets the default behavior of chat rooms in this category for allowing file uploads. This value will be used to set the initial value of any chat room created in this category. Each chat room manager can choose to inherit the category value, or override it for that specific chat room.

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

Syntax

'Declaration
Public Property AllowFileUpload As Nullable(Of Boolean)
    Get
    Set
'Usage
Dim instance As ChatRoomCategorySettings
Dim value As Nullable(Of Boolean)

value = instance.AllowFileUpload

instance.AllowFileUpload = value
public Nullable<bool> AllowFileUpload { get; set; }

Property Value

Type: System.Nullable<Boolean>
true if file uploads should be permitted in chat rooms; false if file uploads should be restricted; or null if this value should be inherited from the parent category. (default)

See Also

Reference

ChatRoomCategorySettings Class

ChatRoomCategorySettings Members

Microsoft.Rtc.Collaboration.GroupChat Namespace