共用方式為


WiFiDirectServiceAdvertiser.ServiceNamePrefixes 屬性

定義

取得搜尋者使用前置詞搜尋時,應該符合此服務的服務名稱前置詞清單。 您的程式碼會使用 IVector 方法來新增或移除清單中的專案。

public:
 property IVector<Platform::String ^> ^ ServiceNamePrefixes { IVector<Platform::String ^> ^ get(); };
IVector<winrt::hstring> ServiceNamePrefixes();
public IList<string> ServiceNamePrefixes { get; }
var iVector = wiFiDirectServiceAdvertiser.serviceNamePrefixes;
Public ReadOnly Property ServiceNamePrefixes As IList(Of String)

屬性值

IVector<String>

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

前置詞的清單。 前置詞值

適用於