ChatMessageAttachment.MimeType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定附件的 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
屬性值
附件的 MIME 類型。
Windows 需求
應用程式功能 |
chat
chatSystem
smsSend
|
備註
聊天應用程式會根據此屬性中設定的 MIME 類型來處理附件。 外寄郵件的附件已將 MimeType 設定為收件者處理的類型字串,例如 「image/jpeg」。