IViewComponentActivator.Create(ViewComponentContext) 方法

定义

实例化 ViewComponent。

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

参数

返回

适用于