語言

ConventionSet.Remove 方法

定義

多載

名稱 Description
Remove(Type)

移除該類型的慣例。

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

移除現有的慣例。

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

移除現有的慣例。

Remove(Type)

來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs

移除該類型的慣例。

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

參數

conventionType
Type

要移除的約定類型。

適用於

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

來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs

移除現有的慣例。

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

類型參數

TConvention

被取消的約定類型。

參數

conventionsList
IList<TConvention>

現有約定實例清單,需掃描。

existingConventionType
Type

現有公約的類型。

傳回

true 如果該慣例被取消。

適用於

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

來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs
來源:
ConventionSet.cs

移除現有的慣例。

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

類型參數

TConvention

被取消的約定類型。

參數

conventionsList
List<TConvention>

現有約定實例清單,需掃描。

existingConventionType
Type

現有公約的類型。

傳回

true 如果該慣例被取消。

適用於