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

适用于