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

广告商服务的服务名称。

适用于