AttachmentType.ContentId Property

The ContentId property gets or sets the attachment content identifier. This property is read/write.

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

Syntax

'Declaration
Public Property ContentId As String
    Get
    Set
'Usage
Dim instance As AttachmentType
Dim value As String

value = instance.ContentId

instance.ContentId = value
public string ContentId { get; set; }

Property Value

Type: System.String
The ContentId property returns a string that contains the content identifier.

Remarks

The value of ContentId can be set to any string value. Applications can use the ContentId property to implement their own identification mechanism.