Share via


IViewComponentDescriptorProvider.GetViewComponents Method

Definition

Gets the set of 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)

Returns

A list of ViewComponentDescriptor.

Applies to