returnするActionResult

ActionResult Subtypes

ViewResultRenders a specifed view to the response stream
PartialViewResultRenders a specifed partial view to the response stream
EmptyResultAn empty response is returned
RedirectResultPerforms an HTTP redirection to a specifed URL
RedirectToRouteResultPerforms an HTTP redirection to a URL that is determined by the routing engine, based on given route data
JsonResultSerializes a given ViewData object to JSON format
JavaScriptResultReturns a piece of JavaScript code that can be executed on the client
ContentResultWrites content to the response stream without requiring a view
FileContentResultReturns a file to the client
FileStreamResultReturns a file to the client, which is provided by a Stream
FilePathResultReturns a file to the client

参考

http://msdn.microsoft.com/en-us/library/dd410269(v=vs.98).aspx


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2014-03-30 (日) 10:10:47