This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns true if the given Querystring variable exists.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.Query.exists")]
public static <bool> QueryExists(
	 context,
	string name
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.Query.exists")> _
Public Shared Function QueryExists ( _
	context As , _
	name As  _
) As (Of )

Parameters

context
IRenderContext
Context object.
name
String
The name of the querystring parameter.

Return Value

true if the specified querystring parameter exists.

See Also

Advanced