ValueProviderFactoryExtensions.RemoveType Method
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.
Overloads
RemoveType(IList<IValueProviderFactory>, Type) |
Removes all value provider factories of the specified type. |
RemoveType<TValueProviderFactory>(IList<IValueProviderFactory>) |
Removes all value provider factories of the specified type. |
RemoveType(IList<IValueProviderFactory>, Type)
Removes all value provider factories of the specified type.
public:
[System::Runtime::CompilerServices::Extension]
static void RemoveType(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::IValueProviderFactory ^> ^ list, Type ^ type);
public static void RemoveType (this System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory> list, Type type);
static member RemoveType : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory> * Type -> unit
<Extension()>
Public Sub RemoveType (list As IList(Of IValueProviderFactory), type As Type)
Parameters
- list
- IList<IValueProviderFactory>
The list of IValueProviderFactory.
- type
- Type
The type to remove.
Applies to
RemoveType<TValueProviderFactory>(IList<IValueProviderFactory>)
Removes all value provider factories of the specified type.
public:
generic <typename TValueProviderFactory>
where TValueProviderFactory : Microsoft::AspNetCore::Mvc::ModelBinding::IValueProviderFactory[System::Runtime::CompilerServices::Extension]
static void RemoveType(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::IValueProviderFactory ^> ^ list);
public static void RemoveType<TValueProviderFactory> (this System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory> list) where TValueProviderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory;
static member RemoveType : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory> -> unit (requires 'ValueProviderFactory :> Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory)
<Extension()>
Public Sub RemoveType(Of TValueProviderFactory As IValueProviderFactory) (list As IList(Of IValueProviderFactory))
Type Parameters
- TValueProviderFactory
The type to remove.
Parameters
- list
- IList<IValueProviderFactory>
The list of IValueProviderFactory.
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