Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets or sets the value that is associated with the specified key.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Property Item ( _
key As String _
) As ModelState
Get
Set
'Usage
Dim instance As ModelStateDictionary
Dim key As String
Dim value As ModelState
value = instance.Item(key)
instance.Item(key) = value
public ModelState this[
string key
] { get; set; }
public:
virtual property ModelState^ Item[String^ key] {
ModelState^ get (String^ key) sealed;
void set (String^ key, ModelState^ value) sealed;
}
abstract Item : ModelState with get, set
override Item : ModelState with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- key
Type: System.String
The key.
Property Value
Type: System.Web.Http.ModelBinding.ModelState
The model state item.
Implements
IDictionary<TKey, TValue>.Item[TKey]