IViewComponentDescriptorProvider.GetViewComponents 方法

定义

获取 的 ViewComponentDescriptor集。

public:
 System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentDescriptor ^> ^ GetViewComponents();
public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor> GetViewComponents ();
abstract member GetViewComponents : unit -> seq<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor>
Public Function GetViewComponents () As IEnumerable(Of ViewComponentDescriptor)

返回

ViewComponentDescriptor 的列表。

适用于