Dela via


HttpMethods.IsOptions(String) Method

Definition

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.

Applies to