編輯

共用方式為


ModelStateDictionary.Item[String] Property

Definition

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