Share via


Formats Property

Gets or sets tokens found at the end of the "m" line.

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

Syntax

'Declaration
Public Property Formats As String
    Get
    Set
'Usage
Dim instance As SdpMediaDescription
Dim value As String

value = instance.Formats

instance.Formats = value
public string Formats { get; set; }

Property Value

Type: System..::..String

Exceptions

Exception Condition
ArgumentNullException
ArgumentException

Thrown when it is an empty string.

Remarks

When using RTP for a transport, these tokens usually represent a list of payload types.

See Also

Reference

SdpMediaDescription Class

SdpMediaDescription Members

Microsoft.Rtc.Signaling Namespace