Export (0) Print
Expand All

GetHeaderValues

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The GetHeaderValues function returns a collection of strings containing the values associated with the supplied header name in the current SIP message.

Syntax

collection<string> GetHeaderValues(
  string or StandardHeader value headerName
);

Parameters

headerName

A SIP header name whose corresponding values will be retrieved. This can also include custom SIP headers defined outside of the common SIP specification. Short header names as defined in the IETF SIP specification are allowed (such as "M" for "Contact").

Return Values

Returns a collection of one or more string values containing the header values. If there are no header values present, an empty collection will be returned.

Show:
© 2014 Microsoft