語言

BrowserHelpers.GetOverriddenUserAgent(HttpContextBase) 方法

定義

傳回已覆寫的使用者代理程式值,如果未指定任何覆寫,則為實際的使用者代理程式字串。

public static string GetOverriddenUserAgent(this System.Web.HttpContextBase httpContext);
static member GetOverriddenUserAgent : System.Web.HttpContextBase -> string
<Extension()>
Public Function GetOverriddenUserAgent (httpContext As HttpContextBase) As String

參數

httpContext
HttpContextBase

目前的內容。

傳回

使用者代理程式字串

適用於