SipUriParser.FindHeader Method

Return the header specific header matching with name. Return null if no matching header found.

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

Syntax

'Declaration
Public Function FindHeader ( _
    headerName As String _
) As SignalingHeader
'Usage
Dim instance As SipUriParser
Dim headerName As String
Dim returnValue As SignalingHeader

returnValue = instance.FindHeader(headerName)
public SignalingHeader FindHeader(
    string headerName
)

Parameters

Return Value

Type: Microsoft.Rtc.Signaling.SignalingHeader
Return the header specific header matching with name. Return null if no matching header found.

Remarks

If multiple headers with same name exist in the URI, then it will return the first matching header only. User should use the GetHeaders() function to enumerate all headers.

See Also

Reference

SipUriParser Class

SipUriParser Members

Microsoft.Rtc.Signaling Namespace