HttpResponse.ClearContent 方法
定义
清除缓冲区流中的所有内容输出。Clears all content output from the buffer stream.
public:
void ClearContent();
public void ClearContent ();
member this.ClearContent : unit -> unit
Public Sub ClearContent ()
示例
下面的示例将清除缓冲区流中的所有内容。The following example clears all content from the buffer stream.
Response.ClearContent();
Response.ClearContent()
注解
ClearContent方法不清除标头信息。The ClearContent method does not clear header information.