共用方式為


WiFiDirectConnectionParameters.PreferredPairingProcedure 屬性

定義

取得或設定值,指定裝置慣用的配對程式。

public:
 property WiFiDirectPairingProcedure PreferredPairingProcedure { WiFiDirectPairingProcedure get(); void set(WiFiDirectPairingProcedure value); };
WiFiDirectPairingProcedure PreferredPairingProcedure();

void PreferredPairingProcedure(WiFiDirectPairingProcedure value);
public WiFiDirectPairingProcedure PreferredPairingProcedure { get; set; }
var wiFiDirectPairingProcedure = wiFiDirectConnectionParameters.preferredPairingProcedure;
wiFiDirectConnectionParameters.preferredPairingProcedure = wiFiDirectPairingProcedure;
Public Property PreferredPairingProcedure As WiFiDirectPairingProcedure

屬性值

慣用的配對程式。

Windows 需求

裝置系列
Windows 10 (已於 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)

適用於