TempDataDictionary.ICollection(Of KeyValuePair(Of String, Object)).IsReadOnly Property

Gets a value that indicates whether the dictionary is read-only.

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

'Declaration
Private ReadOnly Property IsReadOnly As Boolean 
	Implements ICollection(Of KeyValuePair(Of String, Object)).IsReadOnly 
	Get
'Usage
Dim instance As TempDataDictionary 
Dim value As Boolean 

value = CType(instance, ICollection(Of KeyValuePair(Of String, Object))).IsReadOnly

Property Value

Type: System.Boolean
true if the dictionary is read-only; otherwise, false.

Implements

ICollection(Of T).IsReadOnly

A dictionary that is read-only does not allow the addition, removal, or modification of elements after the collection is created.

Show: