Delen via


AppInfo.SupportedFileExtensions Property

Definition

A list of file extensions that the application has been registered to handle. An app can register to handle an extension under the windows.fileTypeAssociation in the application manifest file.

public:
 property Platform::Array <Platform::String ^> ^ SupportedFileExtensions { Platform::Array <Platform::String ^> ^ get(); };
winrt::array_view <winrt::hstring const&> SupportedFileExtensions();
public string[] SupportedFileExtensions { get; }
var string[] = appInfo.supportedFileExtensions;
Public ReadOnly Property SupportedFileExtensions As String()

Property Value

String[]

Platform::String[]

winrt::hstring[]

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Applies to