HttpMethods.IsOptions(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 request method is OPTIONS.
public:
static bool IsOptions(System::String ^ method);
public static bool IsOptions (string method);
static member IsOptions : string -> bool
Public Shared Function IsOptions (method As String) As Boolean
Parameters
- method
- String
The HTTP request method.
Returns
true
if the method is OPTIONS; otherwise, false
.