Share via


Message.GetHeaders(string) method

 
Communications Server 2007 Server SDK Documentation

Message.GetHeaders

The GetHeaders method obtains an IEnumerator interface for access to a type-filtered collection of headers set on the message.

[C#]
public IEnumerator GetHeaders(
string type
);
FakePre-0590448cf88a4a6da87bf165f602a44d-e80bf3fb7f5140dfa81f1837fab883b3

Parameters

  • type
    Header type to return in the collection, such as "To" or "Contact". To return all of the headers set on the message in the collection, set this parameter to "*".

Return Values

Returns an IEnumerator interface used to access the header collection.

Remarks

Each object in the collection is of type Header.

Requirements

Redistributable: Requires Microsoft Office Communications Server 2007.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

Header, Message

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