Share via


SdpWriter.AddFormat Method (String)

Appends a format value to the end of an "m" line when building an SDP.

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

Syntax

'Declaration
Public Sub AddFormat ( _
    format As String _
)
'Usage
Dim instance As SdpWriter
Dim format As String

instance.AddFormat(format)
public void AddFormat(
    string format
)

Parameters

  • format
    Type: System.String
    Value to append. Multiple values may be specified at once by separating them with a space.

Exceptions

Exception Condition
ArgumentNullException

Thrown when the format attribute is null.

ArgumentException

Thrown when the format attribute is an empty string.

See Also

Reference

SdpWriter Class

SdpWriter Members

AddFormat Overload

Microsoft.Rtc.Signaling Namespace