UpWmlMobileTextWriter.CalculateFormPostBackUrl(Boolean, Boolean) 方法

定义

返回将窗体发布到服务器所需的计算 URL。Returns the calculated URL required to post the form to the server. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 override System::String ^ CalculateFormPostBackUrl(bool externalSubmit, bool % encode);
protected override string CalculateFormPostBackUrl (bool externalSubmit, ref bool encode);
override this.CalculateFormPostBackUrl : bool * bool -> string
Protected Overrides Function CalculateFormPostBackUrl (externalSubmit As Boolean, ByRef encode As Boolean) As String

参数

externalSubmit
Boolean

如果指示当前窗体提交到外部 URL,则为 true;否则为 falsetrue to indicate that the current form submits to an external URL; otherwise, false.

encode
Boolean

如果要对 URL 字符串进行编码,则为 true;否则为 falsetrue to encode the URL string; otherwise, false.

返回

String

将窗体发布到服务器所需的计算 URL。The calculated URL required to post the form to the server.

适用于

另请参阅