ChatMessageAttachment.MimeType 屬性

定義

取得或設定附件的 MIME 類型。

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

void MimeType(winrt::hstring value);
public string MimeType { get; set; }
var string = chatMessageAttachment.mimeType;
chatMessageAttachment.mimeType = string;
Public Property MimeType As String

屬性值

String

Platform::String

winrt::hstring

附件的 MIME 類型。

Windows 需求

應用程式功能
chat chatSystem smsSend

備註

聊天應用程式會根據此屬性中設定的 MIME 類型來處理附件。 外寄郵件的附件已將 MimeType 設定為收件者處理的類型字串,例如 「image/jpeg」。

適用於