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
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.