Bagikan melalui


ChatMessageAttachment(String, IRandomAccessStreamReference) Konstruktor

Definisi

Menginisialisasi instans baru kelas ChatMessageAttachment .

public:
 ChatMessageAttachment(Platform::String ^ mimeType, IRandomAccessStreamReference ^ dataStreamReference);
 ChatMessageAttachment(winrt::hstring const& mimeType, IRandomAccessStreamReference const& dataStreamReference);
public ChatMessageAttachment(string mimeType, IRandomAccessStreamReference dataStreamReference);
function ChatMessageAttachment(mimeType, dataStreamReference)
Public Sub New (mimeType As String, dataStreamReference As IRandomAccessStreamReference)

Parameter

mimeType
String

Platform::String

winrt::hstring

Jenis LAMPIRAN MIME.

dataStreamReference
IRandomAccessStreamReference

Aliran yang berisi data lampiran.

Persyaratan Windows

Kemampuan aplikasi
chat chatSystem smsSend

Berlaku untuk