ViewResult.MasterName 属性

定义

获取在呈现视图时要使用的母版视图(如母版页或模板)的名称。

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

属性值

母版视图的名称。

适用于