共用方式為


WiFiDirectServiceSession.ServiceName 屬性

定義

取得涉及會話之廣告商服務的服務名稱。

public:
 property Platform::String ^ ServiceName { Platform::String ^ get(); };
winrt::hstring ServiceName();
public string ServiceName { get; }
var string = wiFiDirectServiceSession.serviceName;
Public ReadOnly Property ServiceName As String

屬性值

String

Platform::String

winrt::hstring

廣告商服務的服務名稱。

適用於