UnsecuredLayoutsPageBase.MobileRedirect 方法

重定向到按MobilePageUrl属性指定页面的移动版本来自移动设备的请求。

命名空间:  Microsoft.SharePoint.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Protected Overridable Sub MobileRedirect
用法

Me.MobileRedirect()
protected virtual void MobileRedirect()

备注

默认实现使用Response.Redirect 方法。它不验证MobilePageUrl属性具有有效的值。对比度TryToRedirectMobileAccess()方法使用此方法。

另请参阅

引用

UnsecuredLayoutsPageBase 类

UnsecuredLayoutsPageBase 成员

Microsoft.SharePoint.WebControls 命名空间