ViewComponentDescriptorCollection Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ViewComponentDescriptorCollection.
public:
ViewComponentDescriptorCollection(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentDescriptor ^> ^ items, int version);
public ViewComponentDescriptorCollection (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor> items, int version);
new Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection : seq<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor> * int -> Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection
Public Sub New (items As IEnumerable(Of ViewComponentDescriptor), version As Integer)
Parameters
The result of view component discovery
- version
- Int32
The unique version of discovered view components.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for