Dela via


ChatMessageAttachment.DataStreamReference Property

Definition

Gets or sets a stream reference for a message attachment.

public:
 property IRandomAccessStreamReference ^ DataStreamReference { IRandomAccessStreamReference ^ get(); void set(IRandomAccessStreamReference ^ value); };
IRandomAccessStreamReference DataStreamReference();

void DataStreamReference(IRandomAccessStreamReference value);
public IRandomAccessStreamReference DataStreamReference { get; set; }
var iRandomAccessStreamReference = chatMessageAttachment.dataStreamReference;
chatMessageAttachment.dataStreamReference = iRandomAccessStreamReference;
Public Property DataStreamReference As IRandomAccessStreamReference

Property Value

The data stream for the attachment.

Windows requirements

App capabilities
chat chatSystem smsSend

Remarks

The data source for an attachment is accessed through a IRandomAccessStreamReference interface. The DataStreamReference property is set to the stream reference that encapsulates the attachment data.

Applies to