TK.IIf Method
<EditorBrowsable(EditorBrowsableState.Never)> _
Public Shared Function IIf( _
ByVal condition As Boolean, _
ByVal thenStatement As Object, _
ByVal elseStatement As Object _
) As Object
This language is not supported or no code example is available.
[EditorBrowsable(EditorBrowsableState.Never)]
public static object IIf(
bool condition,
object thenStatement,
object elseStatement
)
This language is not supported or no code example is available.
Parameters
-
condition
-
bool
The expression you want to evaluate
-
thenStatement
-
object
Returned if Expression evaluates to True
-
elseStatement
-
object
Returned if Expression evaluates to False
Return Value
object
Returns one of two objects, depending on the evaluation of an expression.
.NET Framework
Supported in: 4.8