RazorCompiledItemAttribute(Type, String, String) 构造函数

定义

创建一个新的 RazorCompiledItemAttribute

public:
 RazorCompiledItemAttribute(Type ^ type, System::String ^ kind, System::String ^ identifier);
public RazorCompiledItemAttribute (Type type, string kind, string identifier);
new Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute : Type * string * string -> Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute
Public Sub New (type As Type, kind As String, identifier As String)

参数

type
Type

Type已编译项的 。

kind
String

已编译项的种类。 类型以编程方式用于将行为与项相关联。

identifier
String

与项关联的标识符。 标识符以编程方式用于查找特定类型的特定项,并且应在程序集中是唯一的。

适用于