| UrlHelperReplaceDomain Method |
替换网址域名(限http与https)
Namespace: Adf.WebAssembly: Adf.Web (in Adf.Web.dll) Version: 4.1.5463.29815
Syntaxpublic static string ReplaceDomain(
HttpContext context,
string newDomain
)
Public Shared Function ReplaceDomain (
context As HttpContext,
newDomain As String
) As String
public:
static String^ ReplaceDomain(
HttpContext^ context,
String^ newDomain
)
static member ReplaceDomain :
context : HttpContext *
newDomain : string -> string
Parameters
- context
- Type: System.WebHttpContext
[Missing <param name="context"/> documentation for "M:Adf.Web.UrlHelper.ReplaceDomain(System.Web.HttpContext,System.String)"]
- newDomain
- Type: SystemString
[Missing <param name="newDomain"/> documentation for "M:Adf.Web.UrlHelper.ReplaceDomain(System.Web.HttpContext,System.String)"]
Return Value
Type:
String[Missing <returns> documentation for "M:Adf.Web.UrlHelper.ReplaceDomain(System.Web.HttpContext,System.String)"]
See Also