共用方式為


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 屬性來判斷事件所參考的連接。

適用於

另請參閱