Dynamicweb 8 Documentation
RequestInteger Method

The name of the collection member to get.
Gets the specified integer from the QueryString, Form, Cookies, or ServerVariables collections.
Syntax
'Declaration
 
Public Shared Function RequestInteger( _ 
   ByVal key As String _ 
) As Integer
public static int RequestInteger( 
   string key 
)

Parameters

key
The name of the collection member to get.

Return Value

The escaped QueryString, Form, Cookies, or ServerVariables collection member specified in the key parameter. If the specified key is not found or not a valid integer, then 0 is returned.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Input Class
Input Members

Send Feedback