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: 2.1.0.0+Build:7.origin/release/ms13
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