ChatMessageAttachment(String, IRandomAccessStreamReference) Constructor
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.
Initializes a new instance of the ChatMessageAttachment class.
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)
Parameters
- mimeType
-
String
Platform::String
winrt::hstring
The MIME type of the attachment.
- dataStreamReference
- IRandomAccessStreamReference
A stream containing the attachment data.
Windows requirements
App capabilities |
chat
chatSystem
smsSend
|