Partager via


IsUpLevelBrowser Method

Determines if a browser is uplevel.

Syntax

Visual Basic  Public  Function 
IsUpLevelBrowser( ByVal oContext As HttpContext ) As bool
C# public  bool 
IsUpLevelBrowser(HttpContext oContext );
Managed C++ public:  bool 
IsUpLevelBrowser(HttpContext oContext );
JScript public  function
IsUpLevelBrowser(oContext : HttpContext );

Parameters

oContext Required. HttpContext object containing the browser information.

Return Value

Returns one of the following possible values.

false Default. The browser is downlevel.
true The browser is uplevel.

Remarks

With Windows Internet Explorer WebControls, an uplevel browser is Microsoft Internet Explorer 5.5 or later. A downlevel browser is Internet Explorer 5.01 or earlier or a browser other than Internet Explorer.

Applies To

BrowserLevelChecker

See Also

Internet Explorer WebControls