編輯

共用方式為


HttpBrowserCapabilitiesWrapper.IsBrowser(String) Method

Definition

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