Partager via


Message.GetHeaders(string) method

 
Microsoft Office Live Communications Server 2005 with SP1

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
);

  [Visual Basic .NET]
Public Function GetHeaders( _
  ByVal type As string _
) As IEnumerator

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 Live Communications Server 2005 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

Header, Message

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