Edit

Share via


Item.InternetMessageHeaders Property

Definition

Gets a list of Internet headers for this item. To get the entire collection of Internet message headers, use the PR_TRANSPORT_MESSAGE_HEADERS property.

public:
 property Microsoft::Exchange::WebServices::Data::InternetMessageHeaderCollection ^ InternetMessageHeaders { Microsoft::Exchange::WebServices::Data::InternetMessageHeaderCollection ^ get(); };
public Microsoft.Exchange.WebServices.Data.InternetMessageHeaderCollection InternetMessageHeaders { get; }
Public ReadOnly Property InternetMessageHeaders As InternetMessageHeaderCollection

Property Value

An InternetMessageHeaderCollection object.

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

Applies to