ModelStateDictionary.Item[String] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value that is associated with the specified key.
public:
property System::Web::ModelBinding::ModelState ^ default[System::String ^] { System::Web::ModelBinding::ModelState ^ get(System::String ^ key); void set(System::String ^ key, System::Web::ModelBinding::ModelState ^ value); };
public System.Web.ModelBinding.ModelState this[string key] { get; set; }
member this.Item(string) : System.Web.ModelBinding.ModelState with get, set
Default Public Property Item(key As String) As ModelState
Parameters
- key
- String
The key.
Property Value
The item.
Implements
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.