ViewDataAttribute.Key ViewDataAttribute.Key ViewDataAttribute.Key Property

Definition

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 string Key { get; set; }
member this.Key : string with get, set
Public Property Key As String

Property Value

Applies to