共用方式為


NetworkInformation.FindConnectionProfilesAsync 方法

定義

會傳回 ConnectionProfile 物件的陣列,此陣列符合 ConnectionProfileFilter所定義的篩選準則。

public:
 static IAsyncOperation<IVectorView<ConnectionProfile ^> ^> ^ FindConnectionProfilesAsync(ConnectionProfileFilter ^ pProfileFilter);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<ConnectionProfile>> FindConnectionProfilesAsync(ConnectionProfileFilter const& pProfileFilter);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<ConnectionProfile>> FindConnectionProfilesAsync(ConnectionProfileFilter pProfileFilter);
function findConnectionProfilesAsync(pProfileFilter)
Public Shared Function FindConnectionProfilesAsync (pProfileFilter As ConnectionProfileFilter) As IAsyncOperation(Of IReadOnlyList(Of ConnectionProfile))

參數

pProfileFilter
ConnectionProfileFilter

提供篩選準則。

傳回

ConnectionProfile物件的陣列。

屬性

適用於

另請參閱