PartialViewResult.ViewName Property

Definition

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

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

Property Value

Remarks

When null, defaults to ActionName.

Applies to