Launcher.FindFileHandlersAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerate the file handlers on the device.
public:
static IAsyncOperation<IVectorView<AppInfo ^> ^> ^ FindFileHandlersAsync(Platform::String ^ extension);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<IVectorView<AppInfo>> FindFileHandlersAsync(winrt::hstring const& extension);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<AppInfo>> FindFileHandlersAsync(string extension);
function findFileHandlersAsync(extension)
Public Shared Function FindFileHandlersAsync (extension As String) As IAsyncOperation(Of IReadOnlyList(Of AppInfo))
Parameters
- extension
-
String
Platform::String
winrt::hstring
The file extension that you want to find handlers for. For example, ".bat". Include the leading period '.'.
Returns
A list of AppInfos for each application that handles the specified file extension.
- Attributes
Remarks
This API may also be called from Windows desktop application but does not return Windows desktop application.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin