Freigeben über


ConventionSet.Remove Methode

Definition

Überlädt

Remove(Type)

Entfernt die Konvention des angegebenen Typs.

Remove<TConvention>(IList<TConvention>, Type)

Entfernt eine vorhandene Konvention.

Remove<TConvention>(List<TConvention>, Type)

Entfernt eine vorhandene Konvention.

Remove(Type)

Entfernt die Konvention des angegebenen Typs.

public virtual void Remove (Type conventionType);
abstract member Remove : Type -> unit
override this.Remove : Type -> unit
Public Overridable Sub Remove (conventionType As Type)

Parameter

conventionType
Type

Der zu entfernende Konventionstyp.

Gilt für:

Remove<TConvention>(IList<TConvention>, Type)

Entfernt eine vorhandene Konvention.

public static bool Remove<TConvention> (System.Collections.Generic.IList<TConvention> conventionsList, Type existingConventionType);
static member Remove : System.Collections.Generic.IList<'Convention> * Type -> bool
Public Shared Function Remove(Of TConvention) (conventionsList As IList(Of TConvention), existingConventionType As Type) As Boolean

Typparameter

TConvention

Der Typ der Konvention, die entfernt wird.

Parameter

conventionsList
IList<TConvention>

Die Liste der vorhandenen Konventionsinstanzen, die überprüft werden sollen.

existingConventionType
Type

Der Typ der vorhandenen Konvention.

Gibt zurück

true , wenn die Konvention entfernt wurde.

Gilt für:

Remove<TConvention>(List<TConvention>, Type)

Entfernt eine vorhandene Konvention.

public static bool Remove<TConvention> (System.Collections.Generic.List<TConvention> conventionsList, Type existingConventionType);
static member Remove : System.Collections.Generic.List<'Convention> * Type -> bool
Public Shared Function Remove(Of TConvention) (conventionsList As List(Of TConvention), existingConventionType As Type) As Boolean

Typparameter

TConvention

Der Typ der Konvention, die entfernt wird.

Parameter

conventionsList
List<TConvention>

Die Liste der vorhandenen Konventionsinstanzen, die überprüft werden sollen.

existingConventionType
Type

Der Typ der vorhandenen Konvention.

Gibt zurück

true , wenn die Konvention entfernt wurde.

Gilt für: