共用方式為


ServiceBasedViewComponentActivator.Create(ViewComponentContext) 方法

定義

具現化 ViewComponent。

public:
 virtual 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
override this.Create : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> obj
Public Function Create (context As ViewComponentContext) As Object

參數

傳回

實作

適用於