HttpBrowserCapabilitiesBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serves as the base class for classes that enable the server to gather information about the capabilities of the browser that made the current request.
public ref class HttpBrowserCapabilitiesBase abstract : System::Web::UI::IFilterResolutionService
public abstract class HttpBrowserCapabilitiesBase : System.Web.UI.IFilterResolutionService
type HttpBrowserCapabilitiesBase = class
interface IFilterResolutionService
Public MustInherit Class HttpBrowserCapabilitiesBase
Implements IFilterResolutionService
- Inheritance
-
HttpBrowserCapabilitiesBase
- Derived
- Implements
Remarks
The HttpBrowserCapabilitiesBase class is an abstract class that contains the same members as the HttpBrowserCapabilities class. The HttpBrowserCapabilitiesBase class enables you to create derived classes that are like the HttpBrowserCapabilities class, but that you can customize and that work outside the ASP.NET pipeline. When you perform unit testing, you typically use a derived class to implement members with customized behavior that fulfills the scenario you are testing.
The HttpBrowserCapabilitiesWrapper class derives from the HttpBrowserCapabilitiesBase class. The HttpBrowserCapabilitiesWrapper class serves as a wrapper for the HttpBrowserCapabilities class. At run time, you typically use an instance of the HttpBrowserCapabilitiesWrapper class to call members of the HttpBrowserCapabilities object.
Constructors
HttpBrowserCapabilitiesBase() |
Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class. |
Properties
ActiveXControls |
When overridden in a derived class, gets a value that indicates whether the browser is capable of supporting ActiveX controls. |
Adapters |
When overridden in a derived class, gets the collection of available control adapters. |
AOL |
When overridden in a derived class, gets a value that indicates whether the client is an America Online (AOL) browser. |
BackgroundSounds |
When overridden in a derived class, gets a value that indicates whether the browser supports playing background sounds by using the |
Beta |
When overridden in a derived class, gets a value that indicates whether the browser is a beta version. |
Browser |
When overridden in a derived class, gets the browser string (if any) that was sent by the browser in the |
Browsers |
When overridden in a derived class, gets a collection of browsers for which capabilities are recognized. |
CanCombineFormsInDeck |
When overridden in a derived class, gets a value that indicates whether the browser supports decks that contain multiple forms, such as separate cards. |
CanInitiateVoiceCall |
When overridden in a derived class, gets a value that indicates whether the browser device is capable of initiating a voice call. |
CanRenderAfterInputOrSelectElement |
When overridden in a derived class, gets a value that indicates whether the browser supports page content that follows WML |
CanRenderEmptySelects |
When overridden in a derived class, gets a value that indicates whether the browser supports empty HTML |
CanRenderInputAndSelectElementsTogether |
When overridden in a derived class, gets a value that indicates whether the browser supports WML |
CanRenderMixedSelects |
When overridden in a derived class, gets a value that indicates whether the browser supports WML |
CanRenderOneventAndPrevElementsTogether |
When overridden in a derived class, gets a value that indicates whether the browser supports WML |
CanRenderPostBackCards |
When overridden in a derived class, gets a value that indicates whether the browser supports WML cards for postback. |
CanRenderSetvarZeroWithMultiSelectionList |
When overridden in a derived class, gets a value that indicates whether the browser supports WML |
CanSendMail |
When overridden in a derived class, gets a value that indicates whether the browser supports sending email messages by using the HTML |
Capabilities |
When overridden in a derived class, used internally to get the defined capabilities of the browser. |
CDF |
When overridden in a derived class, gets a value that indicates whether the browser supports Channel Definition Format (CDF) for webcasting. |
ClrVersion |
When overridden in a derived class, gets the version of the .NET Framework that is installed on the client. |
Cookies |
When overridden in a derived class, gets a value that indicates whether the browser is capable of supporting cookies. |
Crawler |
When overridden in a derived class, gets a value that indicates whether the browser is a search-engine Web crawler. |
DefaultSubmitButtonLimit |
When overridden in a derived class, gets the maximum number of submit buttons that are allowed for a form. |
EcmaScriptVersion |
When overridden in a derived class, gets the version number of ECMAScript (JavaScript) that the browser supports. |
Frames |
When overridden in a derived class, gets a value that indicates whether the browser supports HTML frames. |
GatewayMajorVersion |
When overridden in a derived class, gets the major version number of the wireless gateway that is used to access the server, if known. |
GatewayMinorVersion |
When overridden in a derived class, gets the minor version number of the wireless gateway that is used to access the server, if known. |
GatewayVersion |
When overridden in a derived class, gets the version of the wireless gateway that is used to access the server, if known. |
HasBackButton |
When overridden in a derived class, gets a value that indicates whether the browser has a dedicated Back button. |
HidesRightAlignedMultiselectScrollbars |
When overridden in a derived class, gets a value that indicates whether the scrollbar of an HTML |
HtmlTextWriter |
When overridden in a derived class, gets or sets the fully qualified class name of the HtmlTextWriter to use for writing markup characters and text. |
Id |
When overridden in a derived class, gets the internal identifier of the browser as specified in the browser definition file. |
InputType |
When overridden in a derived class, gets the type of input that is supported by the browser. |
IsColor |
When overridden in a derived class, gets a value that indicates whether the browser has a color display. |
IsMobileDevice |
When overridden in a derived class, gets a value that indicates whether the browser is a recognized mobile device. |
Item[String] |
When overridden in a derived class, gets the value of the specified browser capability. In C#, this property is the indexer for the class. |
JavaApplets |
When overridden in a derived class, gets a value that indicates whether the browser supports Java. |
JScriptVersion |
When overridden in a derived class, gets the JScript version that the browser supports. |
MajorVersion |
When overridden in a derived class, gets the major (integer) version number of the browser. |
MaximumHrefLength |
When overridden in a derived class, gets the maximum length in characters for the |
MaximumRenderedPageSize |
When overridden in a derived class, gets the maximum length of the page, in bytes, that the browser can display. |
MaximumSoftkeyLabelLength |
When overridden in a derived class, gets the maximum length of the text that a soft-key label can display. |
MinorVersion |
When overridden in a derived class, gets the minor (decimal) version number of the browser. |
MinorVersionString |
When overridden in a derived class, gets the minor (decimal) version number of the browser as a string. |
MobileDeviceManufacturer |
When overridden in a derived class, gets the name of the manufacturer of a mobile device, if known. |
MobileDeviceModel |
When overridden in a derived class, gets the model name of a mobile device, if known. |
MSDomVersion |
When overridden in a derived class, gets the version of the Microsoft HTML (MSHTML) Document Object Model (DOM) that the browser supports. |
NumberOfSoftkeys |
When overridden in a derived class, gets the number of softkeys on a mobile device. |
Platform |
When overridden in a derived class, gets the name of the operating system that the client is using, if known. |
PreferredImageMime |
When overridden in a derived class, gets the MIME type of the type of image content that the browser typically prefers. |
PreferredRenderingMime |
When overridden in a derived class, gets the MIME type of the type of content that the browser typically prefers. |
PreferredRenderingType |
When overridden in a derived class, gets the general name for the type of content that the browser prefers. |
PreferredRequestEncoding |
When overridden in a derived class, gets the request encoding that the browser prefers. |
PreferredResponseEncoding |
When overridden in a derived class, gets the response encoding that the browser prefers. |
RendersBreakBeforeWmlSelectAndInput |
When overridden in a derived class, gets a value that indicates whether the browser renders a line break before WML |
RendersBreaksAfterHtmlLists |
When overridden in a derived class, gets a value that indicates whether the browser renders a line break after list-item elements. |
RendersBreaksAfterWmlAnchor |
When overridden in a derived class, gets a value that indicates whether the browser renders a line break after a standalone WML |
RendersBreaksAfterWmlInput |
When overridden in a derived class, gets a value that indicates whether the browser renders a line break after a WML |
RendersWmlDoAcceptsInline |
When overridden in a derived class, gets a value that indicates whether the mobile-device browser renders a WML |
RendersWmlSelectsAsMenuCards |
When overridden in a derived class, gets a value that indicates whether the browser renders WML |
RequiredMetaTagNameValue |
When overridden in a derived class, used internally to produce a meta-tag that is required by some browsers. |
RequiresAttributeColonSubstitution |
When overridden in a derived class, gets a value that indicates whether the browser requires colons in element attribute values to be replaced with a different character. |
RequiresContentTypeMetaTag |
When overridden in a derived class, gets a value that indicates whether the browser requires an HTML |
RequiresControlStateInSession |
When overridden in a derived class, gets a value that indicates whether the browser requires control state to be maintained in sessions. |
RequiresDBCSCharacter |
When overridden in a derived class, gets a value that indicates whether the browser requires a double-byte character set. |
RequiresHtmlAdaptiveErrorReporting |
When overridden in a derived class, gets a value that indicates whether the browser requires nonstandard error messages. |
RequiresLeadingPageBreak |
When overridden in a derived class, gets a value that indicates whether the browser requires the first element in the body of a Web page to be an HTML |
RequiresNoBreakInFormatting |
When overridden in a derived class, gets a value that indicates whether the browser does not support HTML |
RequiresOutputOptimization |
When overridden in a derived class, gets a value that indicates whether the browser requires pages to contain a size-optimized form of markup language tags. |
RequiresPhoneNumbersAsPlainText |
When overridden in a derived class, gets a value that indicates whether the browser supports telephone dialing based on plain text, or whether it requires special markup. |
RequiresSpecialViewStateEncoding |
When overridden in a derived class, gets a value that indicates whether the browser requires view-state values to be specially encoded. |
RequiresUniqueFilePathSuffix |
When overridden in a derived class, gets a value that indicates whether the browser requires unique form-action URLs. |
RequiresUniqueHtmlCheckboxNames |
When overridden in a derived class, gets a value that indicates whether the browser requires unique |
RequiresUniqueHtmlInputNames |
When overridden in a derived class, gets a value that indicates whether the browser requires unique |
RequiresUrlEncodedPostfieldValues |
When overridden in a derived class, gets a value that indicates whether postback data that is sent by the browser will be URL-encoded. |
ScreenBitDepth |
When overridden in a derived class, gets the depth of the display, in bits per pixel. |
ScreenCharactersHeight |
When overridden in a derived class, gets the approximate height of the display, in character lines. |
ScreenCharactersWidth |
When overridden in a derived class, gets the approximate width of the display, in characters. |
ScreenPixelsHeight |
When overridden in a derived class, gets the approximate height of the display, in pixels. |
ScreenPixelsWidth |
When overridden in a derived class, gets the approximate width of the display, in pixels. |
SupportsAccesskeyAttribute |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsBodyColor |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsBold |
When overridden in a derived class, gets a value that indicates whether the browser supports HTML |
SupportsCacheControlMetaTag |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsCallback |
When overridden in a derived class, gets a value that indicates whether the browser supports callback scripts. |
SupportsCss |
When overridden in a derived class, gets a value that indicates whether the browser supports cascading style sheets (CSS). |
SupportsDivAlign |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsDivNoWrap |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsEmptyStringInCookieValue |
When overridden in a derived class, gets a value that indicates whether the browser supports empty strings in cookie values. |
SupportsFontColor |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsFontName |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsFontSize |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsImageSubmit |
When overridden in a derived class, gets a value that indicates whether the browser supports the use of a custom image in place of a standard form submit button. |
SupportsIModeSymbols |
When overridden in a derived class, gets a value that indicates whether the browser supports i-mode symbols. |
SupportsInputIStyle |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsInputMode |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsItalic |
When overridden in a derived class, gets a value that indicates whether the browser supports HTML |
SupportsJPhoneMultiMediaAttributes |
When overridden in a derived class, gets a value that indicates whether the browser supports J-Phone multimedia attributes. |
SupportsJPhoneSymbols |
When overridden in a derived class, gets a value that indicates whether the browser supports J-Phone-specific picture symbols. |
SupportsQueryStringInFormAction |
When overridden in a derived class, gets a value that indicates whether the browser supports a query string in the |
SupportsRedirectWithCookie |
When overridden in a derived class, gets a value that indicates whether the browser supports cookies on redirection. |
SupportsSelectMultiple |
When overridden in a derived class, gets a value that indicates whether the browser supports the |
SupportsUncheck |
When overridden in a derived class, gets a value that indicates whether clearing a checked HTML |
SupportsXmlHttp |
When overridden in a derived class, gets a value that indicates whether the browser supports receiving XML over HTTP. |
Tables |
When overridden in a derived class, gets a value that indicates whether the browser supports HTML |
TagWriter |
When overridden in a derived class, used internally to get the type of the object that is used to write tags for the browser. |
Type |
When overridden in a derived class, gets the name and major (integer) version number of the browser. |
UseOptimizedCacheKey |
When overridden in a derived class, used internally to get a value that indicates whether to use an optimized cache key. |
VBScript |
When overridden in a derived class, gets a value that indicates whether the browser supports Visual Basic Scripting edition (VBScript). |
Version |
When overridden in a derived class, gets the full version number (integer and decimal) of the browser as a string. |
W3CDomVersion |
When overridden in a derived class, gets the version of the World Wide Web Consortium (W3C) XML Document Object Model (DOM) that the browser supports. |
Win16 |
When overridden in a derived class, gets a value that indicates whether the client is a Win16-based computer. |
Win32 |
When overridden in a derived class, gets a value that indicates whether the client is a Win32-based computer. |
Methods
AddBrowser(String) |
When overridden in a derived class, used internally to add an entry to the internal collection of browsers for which capabilities are recognized. |
CompareFilters(String, String) |
When overridden in a derived class, used internally to compare filters. |
CreateHtmlTextWriter(TextWriter) |
When overridden in a derived class, creates a new instance of the HtmlTextWriter object to use to render markup to the browser. |
DisableOptimizedCacheKey() |
When overridden in a derived class, used internally to disable use of an optimized cache key. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
EvaluateFilter(String) |
When overridden in a derived class, used internally to evaluate a filter. |
GetClrVersions() |
When overridden in a derived class, gets all versions of the .NET Framework common language runtime (CLR) that are installed on the client. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
IsBrowser(String) |
When overridden in a derived class, gets a value that indicates whether the client browser is the same as the specified browser. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre