Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Protected Overridable Function ParseAttribute ( _
parseStatus As SdpParseStatus, _
name As String, _
value As String _
) As Boolean
'Usage
Dim parseStatus As SdpParseStatus
Dim name As String
Dim value As String
Dim returnValue As Boolean
returnValue = Me.ParseAttribute(parseStatus, _
name, value)
protected virtual bool ParseAttribute(
SdpParseStatus parseStatus,
string name,
string 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: System.String
The attribute name.
- value
Type: System.String
The attribute value, null if there is no ":" on the line.
Return Value
Type: System.Boolean
False if the attribute is not valid.