PageConventionCollection.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(Type) |
Removes all IPageConvention instances of the specified type. |
RemoveType<TPageConvention>() |
Removes all IPageConvention instances of the specified type. |
RemoveType(Type)
- Source:
- PageConventionCollection.cs
- Source:
- PageConventionCollection.cs
- Source:
- PageConventionCollection.cs
Removes all IPageConvention instances of the specified type.
public:
void RemoveType(Type ^ pageConventionType);
public void RemoveType (Type pageConventionType);
member this.RemoveType : Type -> unit
Public Sub RemoveType (pageConventionType As Type)
Parameters
- pageConventionType
- Type
The type to remove.
Applies to
RemoveType<TPageConvention>()
- Source:
- PageConventionCollection.cs
- Source:
- PageConventionCollection.cs
- Source:
- PageConventionCollection.cs
Removes all IPageConvention instances of the specified type.
public:
generic <typename TPageConvention>
where TPageConvention : Microsoft::AspNetCore::Mvc::ApplicationModels::IPageConvention void RemoveType();
public void RemoveType<TPageConvention> () where TPageConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention;
member this.RemoveType : unit -> unit (requires 'PageConvention :> Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention)
Public Sub RemoveType(Of TPageConvention As IPageConvention) ()
Type Parameters
- TPageConvention
The type to remove.