Share via


CookieHandler.MatchCookiePath(Uri, Uri) 方法

定义

如果目标域在 Cookie 域中,且目标路径在 Cookie 路径中,则对 Cookie 路径中的大小写进行匹配。

public:
 virtual System::String ^ MatchCookiePath(Uri ^ baseUri, Uri ^ targetUri);
public virtual string MatchCookiePath (Uri baseUri, Uri targetUri);
abstract member MatchCookiePath : Uri * Uri -> string
override this.MatchCookiePath : Uri * Uri -> string
Public Overridable Function MatchCookiePath (baseUri As Uri, targetUri As Uri) As String

参数

baseUri
Uri

请求的基 URL。

targetUri
Uri

要匹配的 URL。

返回

返回 String

适用于