HttpBrowserCapabilitiesWrapper.IsBrowser(String) Method
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.
Gets a value that indicates whether the client browser is the same as the specified browser.
public:
override bool IsBrowser(System::String ^ browserName);
public override bool IsBrowser (string browserName);
override this.IsBrowser : string -> bool
Public Overrides Function IsBrowser (browserName As String) As Boolean
Parameters
- browserName
- String
The specified browser.
Returns
true
if the client browser is the same as the specified browser; otherwise, false
. The default is false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.