Share via


ViewResult.ViewName Proprietà

Definizione

Ottiene o imposta il nome o il percorso della visualizzazione di cui viene eseguito il rendering nella risposta.

public:
 property System::String ^ ViewName { System::String ^ get(); void set(System::String ^ value); };
public string ViewName { get; set; }
public string? ViewName { get; set; }
member this.ViewName : string with get, set
Public Property ViewName As String

Valore della proprietà

Commenti

Quando null, per impostazione predefinita è ActionName.

Si applica a