WindowsApiChecker.IsMethodAvailable(String, 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 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
True if the method is available and can be called. Otherwise, false.