Share via


TempDataAttribute.Key Property

Definition

Gets or sets the key used to get or add the property from value from ITempDataDictionary. When unspecified, the key is derived from 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

Property Value

Applies to