SipUriParser.FindHeader(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the header specific header matching with name. Return null if no matching header found.
public:
Microsoft::Rtc::Signaling::SignalingHeader ^ FindHeader(System::String ^ headerName);
public Microsoft.Rtc.Signaling.SignalingHeader FindHeader (string headerName);
member this.FindHeader : string -> Microsoft.Rtc.Signaling.SignalingHeader
Public Function FindHeader (headerName As String) As SignalingHeader
Parameters
- headerName
- String
Name of the header to find.
Returns
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.