WebRequestInfo.Headers 属性
获取或设置包含将 HTTP 请求中发送的标头名称值对的词典。
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Property Headers As IDictionary(Of String, String)
Get
Set
用法
Dim instance As WebRequestInfo
Dim value As IDictionary(Of String, String)
value = instance.Headers
instance.Headers = value
public IDictionary<string, string> Headers { get; set; }
属性值
类型:System.Collections.Generic.IDictionary<String, String>
包含名称值对该词典。