HttpResponseMessage.Content HttpResponseMessage.Content HttpResponseMessage.Content HttpResponseMessage.Content Property

定义

获取或设置 HTTP 响应消息的内容。Gets or sets the content of a HTTP response message.

public:
 property System::Net::Http::HttpContent ^ Content { System::Net::Http::HttpContent ^ get(); void set(System::Net::Http::HttpContent ^ value); };
public System.Net.Http.HttpContent Content { get; set; }
member this.Content : System.Net.Http.HttpContent with get, set
Public Property Content As HttpContent

属性值

HTTP 响应消息的内容。The content of the HTTP response message.

注解

HTTP 响应消息的内容对应于 RFC 2616 中定义的实体正文。The contents of an HTTP response message corresponds to the entity body defined in RFC 2616.

适用于