UWP How to tell if an enumeration value has been added in a later version

For my UWP app, in order to maintain a minimum version of 10240, I have to write responsive code i.e. detect the presence of a specific API at runtime. But for this I need to know if the API is present or not in 10240 or was added in a later version. This is ok for classes as it is written (usually at the end of every page) in the Microsoft documentation, but how do I get this information for added methods or enumeration values?

For example, from this page https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/version-adaptive-code#adaptive-code-examples it says that ChatWithoutEmoji was added in 14393 (1607) ... But on the documentation page https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Input.InputScopeNameValue she only wrote that the enum is present in 10240 but nowhere I can find out one of it values, ChatWithoutEmoji, is only present from 14393.

[Update] Note that I already know how to define the API at runtime, my question is how do I know when I need to check the runtime.

+3


source to share





All Articles