共用方式為


WebRequestExecutor.RequestContentType 屬性

取得或設定目前 HTTP 要求的內容類型。

命名空間:  Microsoft.SharePoint.Client
組件:  Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)

語法

'宣告
Public MustOverride Property RequestContentType As String
    Get
    Set
'用途
Dim instance As WebRequestExecutor
Dim value As String

value = instance.RequestContentType

instance.RequestContentType = value
public abstract string RequestContentType { get; set; }

屬性值

類型:System.String
在目前的 HTTP 要求的內容類型。

請參閱

參照

WebRequestExecutor 類別

WebRequestExecutor 成員

Microsoft.SharePoint.Client 命名空間