MiracastReceiverMediaSourceCreatedEventArgs.Connection 属性

定义

返回关联连接的 MiracastReceiverConnection 对象。

public:
 property MiracastReceiverConnection ^ Connection { MiracastReceiverConnection ^ get(); };
MiracastReceiverConnection Connection();
public MiracastReceiverConnection Connection { get; }
var miracastReceiverConnection = miracastReceiverMediaSourceCreatedEventArgs.connection;
Public ReadOnly Property Connection As MiracastReceiverConnection

属性值

MiracastReceiverConnection 对象。

注解

由于 MiracastReceiverSession 可以在多个连接上运行,因此请使用 Connection 属性来确定事件所引用的连接。

适用于

另请参阅