Sdílet prostřednictvím


LanguagePrimitives.IsTrue(Object) Method

Definition

Returns true if the language considers obj to be true.

public:
 static bool IsTrue(System::Object ^ obj);
public:
 static bool IsTrue(Platform::Object ^ obj);
 static bool IsTrue(winrt::Windows::Foundation::IInspectable const & obj);
public static bool IsTrue (object obj);
static member IsTrue : obj -> bool
Public Shared Function IsTrue (obj As Object) As Boolean

Parameters

obj
Object

Obj to verify if it is true.

Returns

True if obj is true.

Applies to