Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PropertyType property

PathToExtendedFieldType.PropertyType property

The PropertyType property gets or sets the property type of a property tag.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

public MapiPropertyTypeType PropertyType { get; set; }

Property value

Type: ExchangeWebServices.MapiPropertyTypeType
The PropertyType property returns a MapiPropertyTypeType enumeration that identifies the property type.

The property type of a property tag corresponds to the least significant word in a property tag.

In Microsoft .NET, a Long is a 64-bit signed integer, whereas in MAPI and COM, a Long is a 32-bit integer. Most developers will use the Microsoft .NET Framework to develop Exchange Web Services client applications. Therefore, the .NET naming is used instead of the MAPI naming. For example, the PR_MESSAGE_FLAGS MAPI property, 0x0E07, is a PT_LONG type. In .NET, this is considered an integer. An extended property for PR_MESSAGE_FLAGS is defined as <t:ExtendedFieldURI PropertyTag="0x0E07" PropertyType="Integer"/>.

Show:
© 2015 Microsoft