TK.TIf Method

Public Shared Function TIf( _ 
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.
public static object TIf( 
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.6.2, 4.7

In this article

Definition