共用方式為


ODataBatchOperationRequestMessage.Headers 屬性

取得此訊息所有標頭的可列舉。

命名空間:  Microsoft.Data.OData
組件:  Microsoft.Data.OData (在 Microsoft.Data.OData.dll 中)

語法

'宣告
Public ReadOnly Property Headers As IEnumerable(Of KeyValuePair(Of String, String))
    Get
'用途
Dim instance As ODataBatchOperationRequestMessage
Dim value As IEnumerable(Of KeyValuePair(Of String, String))

value = instance.Headers
public IEnumerable<KeyValuePair<string, string>> Headers { get; }
public:
virtual property IEnumerable<KeyValuePair<String^, String^>>^ Headers {
    IEnumerable<KeyValuePair<String^, String^>>^ get () sealed;
}
abstract Headers : IEnumerable<KeyValuePair<string, string>>
override Headers : IEnumerable<KeyValuePair<string, string>>
final function get Headers () : IEnumerable<KeyValuePair<String, String>>

屬性值

型別:System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>
此訊息所有標頭的可列舉。

實作

IODataRequestMessage.Headers

請參閱

參考

ODataBatchOperationRequestMessage 類別

Microsoft.Data.OData 命名空間