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
- headerName
Type: System.String
Name of the header to find.
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.