WindowsApiChecker.IsMethodAvailable(String, String, String) Method

Definition

Checks to see if the requested method is present on the current platform.

public:
 static bool IsMethodAvailable(System::String ^ namespaceName, System::String ^ className, System::String ^ methodName);
public static bool IsMethodAvailable (string namespaceName, string className, string methodName);
static member IsMethodAvailable : string * string * string -> bool
Public Shared Function IsMethodAvailable (namespaceName As String, className As String, methodName As String) As Boolean

Parameters

namespaceName
String

The namespace (ex: "Windows.UI.Input.Spatial") containing the class.

className
String

The name of the class containing the method (ex: "SpatialInteractionMananger").

methodName
String

The name of the method (ex: "IsSourceKindSupported").

Returns

Boolean

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

Applies to