Dela via


HttpMethods.IsGet(String) Method

Definition

Returns a value that indicates if the HTTP request method is GET.

public:
 static bool IsGet(System::String ^ method);
public static bool IsGet (string method);
static member IsGet : string -> bool
Public Shared Function IsGet (method As String) As Boolean

Parameters

method
String

The HTTP request method.

Returns

true if the method is GET; otherwise, false.

Applies to