FormatterCollection<TFormatter>.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 formatters of the specified type. |
RemoveType<T>() |
Removes all formatters of the specified type. |
RemoveType(Type)
- Source:
- FormatterCollection.cs
- Source:
- FormatterCollection.cs
- Source:
- FormatterCollection.cs
Removes all formatters of the specified type.
public:
void RemoveType(Type ^ formatterType);
public void RemoveType (Type formatterType);
member this.RemoveType : Type -> unit
Public Sub RemoveType (formatterType As Type)
Parameters
- formatterType
- Type
The type to remove.
Applies to
RemoveType<T>()
- Source:
- FormatterCollection.cs
- Source:
- FormatterCollection.cs
- Source:
- FormatterCollection.cs
Removes all formatters of the specified type.
public:
generic <typename T>
where T : TFormatter void RemoveType();
public void RemoveType<T> () where T : TFormatter;
member this.RemoveType : unit -> unit
Public Sub RemoveType(Of T As TFormatter) ()
Type Parameters
- T
The type to remove.