StructureExpressionExtensionsIfT Method (T, String, AbstractStructure, AbstractStructure) |
Namespace: Qlik.Engine.ExtensionsAssembly: 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
<ExtensionAttribute>
Public Shared Function If(Of T As AbstractStructure) (
container As T,
expression As String,
thenContent As AbstractStructure,
Optional elseContent As AbstractStructure = Nothing
) As T
Parameters
- container
- Type: T
- expression
- Type: SystemString
- thenContent
- Type: Qlik.EngineAbstractStructure
- elseContent (Optional)
- Type: Qlik.EngineAbstractStructure
Type Parameters
- T
Return Value
Type:
TUsage 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