DynamicJsonExtensions If TDynamic  Method Qlik Sense .NET SDK - API Reference

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax

public static TDynamic If<TDynamic>(
	this TDynamic container,
	string expression,
	Object thenContent,
	Object elseContent = null
)
where TDynamic : DynamicJson
Type Parameters

TDynamic

Return Value

Type: TDynamic

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 OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also