WindowsApiChecker.IsTypeAvailable(String, 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.
Checks to see if the requested type is present on the current platform.
public:
static bool IsTypeAvailable(System::String ^ namespaceName, System::String ^ typeName);
public static bool IsTypeAvailable (string namespaceName, string typeName);
static member IsTypeAvailable : string * string -> bool
Public Shared Function IsTypeAvailable (namespaceName As String, typeName As String) As Boolean
Parameters
- namespaceName
- String
The namespace (ex: "Windows.UI.Input.Spatial") containing the class.
- typeName
- String
The name of the class containing the method (ex: "SpatialPointerPose").
Returns
True if the type is available and can be called. Otherwise, false.