Sdílet prostřednictvím


ExpressionBuilderCollection.Remove(String) Metoda

Definice

public:
 void Remove(System::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

Parametry

name
String

Řetězcová hodnota určující ExpressionBuilder odkaz.

Příklady

Následující příklad kódu ukazuje, jak použít metodu Remove . Tento příklad kódu je součástí většího příkladu ExpressionBuilderCollection pro třídu .

// Remove an ExpressionBuilder.
configSection.ExpressionBuilders.RemoveAt
  (configSection.ExpressionBuilders.Count-1);
' Remove an ExpressionBuilder.
configSection.ExpressionBuilders.RemoveAt _
 (configSection.ExpressionBuilders.Count - 1)

Poznámky

Pokud sestavení v kolekci neexistuje, je příkaz ignorován.

Platí pro