Namespace: T.Toolkit
Assembly: T.Toolkit (in T.Toolkit.dll)

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
Type: bool

The expression you want to evaluate

thenStatement
Type: object

Returned if Expression evaluates to True

elseStatement
Type: object

Returned if Expression evaluates to False

Return Value

Type: object

Returns one of two objects, depending on the evaluation of an expression.

.NET Framework

Supported in: 4.6.2, 4.7