共用方式為


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

適用於