HttpMethods.Equals(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.
Returns a value that indicates if the HTTP methods are the same.
public:
static bool Equals(System::String ^ methodA, System::String ^ methodB);
public static bool Equals (string methodA, string methodB);
static member Equals : string * string -> bool
Public Shared Function Equals (methodA As String, methodB As String) As Boolean
Parameters
- methodA
- String
The first HTTP request method to compare.
- methodB
- String
The second HTTP request method to compare.
Returns
true
if the methods are the same; otherwise, false
.