ViewResult.ViewName ViewResult.ViewName ViewResult.ViewName Property

Definition

Gets or sets the name or path of the view that is rendered to the response.

public string ViewName { get; set; }
member this.ViewName : string with get, set
Public Property ViewName As String

Property Value

Remarks

When null, defaults to ActionName.

Applies to