Bagikan melalui


ConventionSet.Remove Metode

Definisi

Overload

Remove(Type)

Menghapus konvensi jenis yang diberikan.

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

Menghapus konvensi yang ada.

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

Menghapus konvensi yang ada.

Remove(Type)

Menghapus konvensi jenis yang diberikan.

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

Jenis konvensi yang akan dihapus.

Berlaku untuk

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

Menghapus konvensi yang ada.

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

Jenis parameter

TConvention

Jenis konvensi yang dihapus.

Parameter

conventionsList
IList<TConvention>

Daftar instans konvensi yang ada untuk dipindai.

existingConventionType
Type

Jenis konvensi yang ada.

Mengembalikan

true jika konvensi dihapus.

Berlaku untuk

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

Menghapus konvensi yang ada.

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

Jenis parameter

TConvention

Jenis konvensi yang dihapus.

Parameter

conventionsList
List<TConvention>

Daftar instans konvensi yang ada untuk dipindai.

existingConventionType
Type

Jenis konvensi yang ada.

Mengembalikan

true jika konvensi dihapus.

Berlaku untuk