EmailAttachment.ContentId Property

Definition

Gets or sets a value that identifies the content of the attachment on a remote system.

public:
 property Platform::String ^ ContentId { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring ContentId();

void ContentId(winrt::hstring value);
public string ContentId { get; set; }
var string = emailAttachment.contentId;
emailAttachment.contentId = string;
Public Property ContentId As String

Property Value

String

Platform::String

winrt::hstring

A value that identifies the content of the attachment.

Windows requirements

App capabilities
email emailSystem

Applies to