ViewDataAttribute.Key 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 key used to get or add the property from value from ViewDataDictionary. When unspecified, the key is the property name.
public:
property System::String ^ Key { System::String ^ get(); void set(System::String ^ value); };
public string Key { get; set; }
public string? Key { get; set; }
member this.Key : string with get, set
Public Property Key As String