Language

RouteValueDictionary.Remove メソッド

定義

オーバーロード

名前 説明
Remove(String)
Remove(String, Object)

RouteValueDictionary から、指定したキーを持つ値を削除して返そうと試みます。

Remove(String)

ソース:
RouteValueDictionary.cs
ソース:
RouteValueDictionary.cs
ソース:
RouteValueDictionary.cs

指定したキーを持つ要素を 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

パラメーター

key
String

返品

実装

適用対象

Remove(String, Object)

ソース:
RouteValueDictionary.cs
ソース:
RouteValueDictionary.cs

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

パラメーター

key
String

削除して返す要素のキー。

value
Object

このメソッドが戻るときに、 から RouteValueDictionary削除された オブジェクトを格納するか、キー null が存在しない場合は を格納します。

返品

オブジェクトが正常に削除された場合は true。それ以外の場合は false。

適用対象