Поделиться через


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
<XmlAttributeAttribute> _
Public Property PropertyType As MapiPropertyTypeType
[XmlAttributeAttribute] 
public MapiPropertyTypeType PropertyType { get; set; }
[XmlAttributeAttribute] 
public:
property MapiPropertyTypeType PropertyType {
    MapiPropertyTypeType get ();
    void set (MapiPropertyTypeType value);
}
/** @property */
public MapiPropertyTypeType get_PropertyType ()

/** @property */
public void set_PropertyType (MapiPropertyTypeType value)
public function get PropertyType () : MapiPropertyTypeType

public function set PropertyType (value : MapiPropertyTypeType)

Property Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)