| |||||||||||||
<browserCaps> result ElementASP.NET Syntax ASP.NET Configuration Sections Specifies the HttpCapabilitiesBase-derived class that is used to hold the results from parsing the browserCaps section. The capabilities are stored as key/value string pairs for each browser. <result type = "section type" /> Attributes and ElementsThe following sections describe attributes, child elements, and parent elements. Attributes
Child ElementsNone. Parent Elements
RemarksThe result element specifies the class that is derived from the HttpCapabilitiesBase class that is used to hold the results from parsing the browserCaps section. The capabilities are stored as key/value string pairs for each browser. At run time, one instance of the HttpCapabilitiesBase-derived class is created per application and stored in the Browsers property. Default ConfigurationIn the .NET Framework version 2.0, the following default result element is configured in the root Web.config file. <result
type = "System.Web.Mobile.MobileCapabilities, System.Web.Mobile,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
/>
In the .NET Framework version 1.1, the following default result element is configured in the Machine.config file. For updates to the browser data, go to cyScape, Inc.. Periodic device updates replace this browser capabilities section. <result
type = "System.Web.Mobile.MobileCapabilities, System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
/>
In the .NET Framework version 1.0, the following default result element is configured in the Machine.config file. For updates to the browser data, go to cyScape, Inc.. Periodic device updates replace this browser capabilities section. <result type = "System.Web.HttpBrowserCapabilities" /> ExampleThe following code example demonstrates how to specify the type that parses the browserCaps section. <result
type = "System.Web.HttpBrowserCapabilities, System.Web,
Version=1.0.3102.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
/>
See AlsoASP.NET Configuration <browserCaps> Section <browserCaps> filter Element <browserCaps> use Element |
| ||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note