Share via


GetHeaderValues(string or StandardHeader value) function

 
Communications Server 2007 Server SDK Documentation

GetHeaderValues

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

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.

  
  What did you think of this topic?
  © 2007 Microsoft Corporation. All rights reserved.