共用方式為


FileContentResult.WriteFile(HttpResponseBase) 方法

定義

將檔案內容寫入至回應。

protected override void WriteFile (System.Web.HttpResponseBase response);
override this.WriteFile : System.Web.HttpResponseBase -> unit
Protected Overrides Sub WriteFile (response As HttpResponseBase)

參數

response
HttpResponseBase

回應。

適用於