ViewResult.ViewName 屬性

定義

取得或設定轉譯為回應之檢視的名稱或路徑。

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

屬性值

備註

當 為 時 null ,預設為 ActionName

適用於