ChatMessageAttachment.MimeType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the MIME type of the attachment.
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
Property Value
The MIME type of the attachment.
Windows requirements
App capabilities |
chat
chatSystem
smsSend
|
Remarks
A chat application handles an attachment based on the MIME type set in this property. Attachments for outgoing messages have MimeType set to a type string for recipient handling, such as “image/jpeg”.