WindowsApiChecker.IsPropertyAvailable(String, String, String) Method

Definition

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

public:
 static bool IsPropertyAvailable(System::String ^ namespaceName, System::String ^ className, System::String ^ propertyName);
public static bool IsPropertyAvailable (string namespaceName, string className, string propertyName);
static member IsPropertyAvailable : string * string * string -> bool
Public Shared Function IsPropertyAvailable (namespaceName As String, className As String, propertyName 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: "SpatialPointerPose").

propertyName
String

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

Returns

Boolean

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

Applies to