FindHeader Method

Return the header-specific header matching with name.

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 nullNothingnullptrunita null reference (Nothing in Visual Basic) if no matching header is found.

Remarks

If multiple headers with same name exist in the URI, it returns 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