Compartir a través de


PathToExtendedFieldType.PropertyType Property

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

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

Syntax

'Declaration
Public Property PropertyType As MapiPropertyTypeType
    Get
    Set
'Usage
Dim instance As PathToExtendedFieldType
Dim value As MapiPropertyTypeType

value = instance.PropertyType

instance.PropertyType = value
public MapiPropertyTypeType PropertyType { get; set; }

Property Value

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

Remarks

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"/>.