Share via


AddAttribute Method (String)

Appends an attribute.

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

Syntax

'Declaration
Public Sub AddAttribute ( _
    name As String _
)
'Usage
Dim instance As SdpWriter
Dim name As String

instance.AddAttribute(name)
public void AddAttribute(
    string name
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown when the name attribute is nullNothingnullptrunita null reference (Nothing in Visual Basic).

ArgumentException

Thrown when the name attribute is an empty string.

Remarks

This function is used for attributes that have a name portion only, but no value portion.

See Also

Reference

SdpWriter Class

SdpWriter Members

AddAttribute Overload

Microsoft.Rtc.Signaling Namespace