ModelBinderDictionary.Remove Method (Type)

.NET Framework (current version)
 

Removes the element that has the specified key from the model binder dictionary.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

Public Function Remove (
	key As Type
) As Boolean

Parameters

key
Type: System.Type

The key of the item to remove.

Return Value

Type: System.Boolean

true if the element was successfully removed; false if key was note removed or was not found in the dictionary.

.NET Framework
Available since 4.5
Return to top
Show: