IViewComponentFactory.CreateViewComponent(ViewComponentContext) 메서드

정의

지정된 에 대한 새 컨트롤러를 context만듭니다.

public:
 System::Object ^ CreateViewComponent(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context);
public object CreateViewComponent (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context);
abstract member CreateViewComponent : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> obj
Public Function CreateViewComponent (context As ViewComponentContext) As Object

매개 변수

context
ViewComponentContext

ViewComponentContext 보기 구성 요소에 대한 입니다.

반환

뷰 구성 요소입니다.

적용 대상