Manager.AreOnTheSameSite(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the site portion of two URLs have the same canonicalized values.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static bool AreOnTheSameSite(System::String ^ pURL1, System::String ^ pURL2);
public static bool AreOnTheSameSite (string pURL1, string pURL2);
static member AreOnTheSameSite : string * string -> bool
Public Shared Function AreOnTheSameSite (pURL1 As String, pURL2 As String) As Boolean
Parameters
- pURL1
- String
The first URL to compare.
- pURL2
- String
The second URL to compare.
Returns
true
if the two URLs are on the same site; otherwise, false
.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.