Called whenever an attribute should be processed by the parser. A derived class can overload this function and provide customized parsing. The supplied default function will simply create an instance of SdpAttribute and append it to the list of SdpAttributes. Should a derived class still want the attribute appended, it should call the base implementation.

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

Syntax

Visual Basic (Declaration)
Protected 
Overridable 
Function 
ParseAttribute ( _
	
parseStatus 
As 

SdpParseStatus, _
	
name 
As 
String, _
	
value 
As 
String _
) 
As 
Boolean
C#
protected 
virtual 
bool 
ParseAttribute(
	

SdpParseStatus 
parseStatus,
	
string 
name,
	
string 
value
)
Visual C++
protected:
virtual 
bool 
ParseAttribute(
	

SdpParseStatus^ 
parseStatus, 
	
String^ 
name, 
	
String^ 
value
)
JavaScript
function 
parseAttribute(
parseStatus, 
name, 
value);

Parameters

parseStatus
Type: Microsoft.Rtc.Signaling . . :: . SdpParseStatus
Provides the current line number and a means to set a detailed error message should parsing fail.
name
Type: String
Attribute name
value
Type: String
Attribute value, null if there is no ":" on the line.

Return Value

Returns false if the attribute is not valid.

See Also