NetworkInformation.FindConnectionProfilesAsync 方法

定义

返回 与 ConnectionProfileFilter 定义的筛选条件匹配的 ConnectionProfile 对象的数组。

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 对象的数组。

属性

适用于

另请参阅