Share via


PathToExtendedFieldType.PropertyId Property

The PropertyId property gets or sets an extended property by its dispatch ID.

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

Syntax

'Declaration
<XmlAttributeAttribute> _
Public Property PropertyId As Integer
[XmlAttributeAttribute] 
public int PropertyId { get; set; }
[XmlAttributeAttribute] 
public:
property int PropertyId {
    int get ();
    void set (int value);
}
/** @property */
public int get_PropertyId ()

/** @property */
public void set_PropertyId (int value)
public function get PropertyId () : int

public function set PropertyId (value : int)

Property Value

The PropertyId property returns an integer that represents a property dispatch identifier.

Remarks

A dispatch ID can be identified in either decimal or hexadecimal formats. The PropertyId property must be coupled with either the DistinguishedPropertySetId or PropertySetId property.

If the PropertyId is used, the PropertyName and PropertyTag properties cannot be used.

You must set the PropertyIdSpecified property to true so that the PropertyId property is serialized into the SOAP message.

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)