共用方式為


SPHttpUserAgentAndMethodClassifier.HttpMethod property

取得符合要求的 HTTP 方法名稱。

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

Syntax

'宣告
Public ReadOnly Property HttpMethod As String
    Get
'用途
Dim instance As SPHttpUserAgentAndMethodClassifier
Dim value As String

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

Property value

Type: System.String
HTTP 方法名稱。

備註

範例值包括"GET"、"放入 」 和 「 發佈 」。

請參閱

參照

SPHttpUserAgentAndMethodClassifier class

SPHttpUserAgentAndMethodClassifier members

Microsoft.SharePoint.Utilities namespace