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

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
AddAttribute ( _
	
name 
As 
String, _
	
value 
As 
String _
)
C#
public 
void 
AddAttribute(
	
string 
name,
	
string 
value
)
Visual C++
public:
void 
AddAttribute(
	
String^ 
name, 
	
String^ 
value
)
JavaScript
function 
addAttribute(
name, 
value);

Parameters

name
Type: String
The attribute name.
value
Type: String
The value of the attribute to append.

Exceptions

Exception Condition
ArgumentNullException Thrown when the name attribute is null.
ArgumentException Thrown when the name attribute is an empty string.

See Also