InternetMessageHeader Class

Definition

Represents an Internet message header. To get the entire collection of Internet message headers, use the PR_TRANSPORT_MESSAGE_HEADERS property.

public ref class InternetMessageHeader sealed : Microsoft::Exchange::WebServices::Data::ComplexProperty
public sealed class InternetMessageHeader : Microsoft.Exchange.WebServices.Data.ComplexProperty
Public NotInheritable Class InternetMessageHeader
Inherits ComplexProperty
Inheritance
InternetMessageHeader

Remarks

The following is the definition for the PR_TRANSPORT_MESSAGE_HEADERS extended property.

ExtendedPropertyDefinition PR_TRANSPORT_MESSAGE_HEADERS = new ExtendedPropertyDefinition(0x007D, MapiPropertyType.String);

You can add this property definition to the PropertySet object to get the Internet message headers.

For more information about EWS and Internet message headers, see “Getting Internet message headers” in EWS, MIME, and the missing Internet message headers

Properties

Name

The name of the header.

Value

The value of the header.

Methods

ToString()

Obtains a string representation of the header.

Applies to