Share via


SPHttpUserAgentAndMethodClassifier.HttpMethod property

Gets the name of the HTTP method of requests that match.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property HttpMethod As String
    Get
'Usage
Dim instance As SPHttpUserAgentAndMethodClassifier
Dim value As String

value = instance.HttpMethod
public string HttpMethod { get; }

Property value

Type: System.String
The name of an HTTP method.

Remarks

Example values include “GET”, “PUT”, and “POST”.

See also

Reference

SPHttpUserAgentAndMethodClassifier class

SPHttpUserAgentAndMethodClassifier members

Microsoft.SharePoint.Utilities namespace