One line if in VB .NET
Use IF().
It is a short-circuiting ternary operator.
Dim Result = IF(expression,<true return>,<false return>)
SEE ALSO:
IIF becomes If, and a true ternary operator
The Ternary Operator in VB.NET
It's actually pretty simple..
If CONDITION Then ..INSERT CODE HERE..