[This is preliminary documentation and is subject to change.]
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static bool IsTrue(
this Nullable<bool> value,
bool dflt = false
)
public static bool IsTrue(
this Nullable<bool> value,
bool dflt = false
)
<ExtensionAttribute>
Public Shared Function IsTrue (
value As Nullable(Of Boolean),
Optional dflt As Boolean = false
) As Boolean
<ExtensionAttribute>
Public Shared Function IsTrue (
value As Nullable(Of Boolean),
Optional dflt As Boolean = false
) As Boolean
public:
[ExtensionAttribute]
static bool IsTrue(
Nullable<bool> value,
bool dflt = false
)
public:
[ExtensionAttribute]
static bool IsTrue(
Nullable<bool> value,
bool dflt = false
)
static member IsTrue :
value : Nullable<bool> *
?dflt : bool
(* Defaults:
let _dflt = defaultArg dflt false
*)
-> bool
static member IsTrue :
value : Nullable<bool> *
?dflt : bool
(* Defaults:
let _dflt = defaultArg dflt false
*)
-> bool
Return Value
Type:
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Nullable
Boolean . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).