HttpResponseMessage.Headers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of HTTP response headers associated with the HttpResponseMessage that were sent by the server.
public:
property HttpResponseHeaderCollection ^ Headers { HttpResponseHeaderCollection ^ get(); };
HttpResponseHeaderCollection Headers();
public HttpResponseHeaderCollection Headers { get; }
var httpResponseHeaderCollection = httpResponseMessage.headers;
Public ReadOnly Property Headers As HttpResponseHeaderCollection
Property Value
The collection of HTTP response headers.
Remarks
The Headers property returns an HttpResponseHeaderCollection object that can be used to get or set the specific headers on the HTTP response.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin