Partager 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
Public Property PropertyId As Integer
    Get
    Set
'Usage
Dim instance As PathToExtendedFieldType
Dim value As Integer

value = instance.PropertyId

instance.PropertyId = value
public int PropertyId { get; set; }

Property Value

Type: System.Int32
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.