共用方式為


ViewInfo(String, Type) 建構函式

定義

建立 ViewInfo 的新執行個體。

public:
 ViewInfo(System::String ^ path, Type ^ type);
public ViewInfo (string path, Type type);
new Microsoft.AspNetCore.Mvc.ApplicationParts.ViewInfo : string * Type -> Microsoft.AspNetCore.Mvc.ApplicationParts.ViewInfo
Public Sub New (path As String, type As Type)

參數

path
String

檢視的路徑。

type
Type

檢視 Type

適用於