Dela via


EmailAttachment.FileName Property

Definition

Gets or sets the displayed file name for the email attachment.

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

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

Property Value

String

Platform::String

winrt::hstring

The displayed file name for the email attachment.

Windows requirements

App capabilities
email emailSystem

Applies to