PartialViewResult.ViewName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.