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
public string ContentId { get; set; }
public:
property String^ ContentId {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ContentId ()

/** @property */
public void set_ContentId (String value)
public function get ContentId () : String

public function set ContentId (value : String)

Property Value

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.

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)