Click or drag to resize
StructureExpressionExtensionsIfT Method (T, String, AbstractStructure, AbstractStructure)

Namespace: Qlik.Engine.Extensions
Assembly: Qlik.Engine.Extensions (in Qlik.Engine.Extensions.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static T If<T>(
	this T container,
	string expression,
	AbstractStructure thenContent,
	AbstractStructure elseContent = null
)
where T : AbstractStructure

Parameters

container
Type: T
expression
Type: SystemString
thenContent
Type: Qlik.EngineAbstractStructure
elseContent (Optional)
Type: Qlik.EngineAbstractStructure

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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).
See Also