WindowsApiChecker.IsTypeAvailable(String, String) Method

Definition

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

Boolean

True if the type is available and can be called. Otherwise, false.

Applies to