언어

PartialViewResult 클래스

정의

응답에 ActionResult 부분 보기를 렌더링하는 을 나타냅니다.

public ref class PartialViewResult : Microsoft::AspNetCore::Mvc::ActionResult
public ref class PartialViewResult : Microsoft::AspNetCore::Mvc::ActionResult, Microsoft::AspNetCore::Mvc::IActionResult, Microsoft::AspNetCore::Mvc::Infrastructure::IStatusCodeActionResult
public class PartialViewResult : Microsoft.AspNetCore.Mvc.ActionResult
public class PartialViewResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult
type PartialViewResult = class
    inherit ActionResult
type PartialViewResult = class
    inherit ActionResult
    interface IStatusCodeActionResult
    interface IActionResult
type PartialViewResult = class
    inherit ActionResult
    interface IActionResult
    interface IStatusCodeActionResult
Public Class PartialViewResult
Inherits ActionResult
Public Class PartialViewResult
Inherits ActionResult
Implements IActionResult, IStatusCodeActionResult
상속
PartialViewResult
구현

생성자

속성 Description
PartialViewResult()

응답에 ActionResult 부분 보기를 렌더링하는 을 나타냅니다.

속성

속성 Description
ContentType

응답에 대한 Content-Type 헤더를 가져오거나 설정합니다.

Model

뷰 데이터 모델을 가져옵니다.

StatusCode

HTTP 상태 코드를 가져오거나 설정합니다.

TempData

이 결과에 대한 뷰를 렌더링하는 데 사용되는 를 가져오거나 설정합니다 ITempDataDictionary .

ViewData

이 결과에 대한 뷰를 렌더링하는 데 사용되는 를 가져오거나 설정합니다 ViewDataDictionary .

ViewEngine

뷰를 찾는 데 사용되는 를 IViewEngine 가져오거나 설정합니다.

ViewName

응답에 렌더링되는 부분 보기의 이름 또는 경로를 가져오거나 설정합니다.

메서드

속성 Description
ExecuteResult(ActionContext)

작업 메서드의 결과 작업을 동기적으로 실행합니다. 이 메서드는 MVC에서 작업 메서드의 결과를 처리하기 위해 호출됩니다.

(다음에서 상속됨 ActionResult)
ExecuteResultAsync(ActionContext)

작업 메서드의 결과 작업을 비동기적으로 실행합니다. 이 메서드는 MVC에서 작업 메서드의 결과를 처리하기 위해 호출됩니다.

적용 대상