Share via


RouteValueDictionary.Remove Método

Definición

Sobrecargas

Remove(String)
Remove(String, Object)

Intenta quitar y devolver el valor que tiene la clave especificada de RouteValueDictionary.

Remove(String)

Source:
RouteValueDictionary.cs
Source:
RouteValueDictionary.cs

Quita el elemento con la clave especificada de IDictionary<TKey,TValue>.

public:
 virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

Parámetros

key
String

Devoluciones

Implementaciones

Se aplica a

Remove(String, Object)

Source:
RouteValueDictionary.cs

Intenta quitar y devolver el valor que tiene la clave especificada de RouteValueDictionary.

public:
 bool Remove(System::String ^ key, [Runtime::InteropServices::Out] System::Object ^ % value);
public bool Remove (string key, out object value);
public bool Remove (string key, out object? value);
member this.Remove : string * obj -> bool
Public Function Remove (key As String, ByRef value As Object) As Boolean

Parámetros

key
String

Clave del elemento que se va a quitar y devolver.

value
Object

Cuando este método devuelve , contiene el objeto quitado de RouteValueDictionary, o null si la clave no existe.

Devoluciones

Es true si el objeto se ha quitado correctamente; en caso contrario, es false.

Se aplica a