InjectChunk(String, String) 构造函数

定义

表示语句的 @inject 区块。

public:
 InjectChunk(System::String ^ typeName, System::String ^ propertyName);
public InjectChunk (string typeName, string propertyName);
new Microsoft.AspNetCore.Mvc.Razor.InjectChunk : string * string -> Microsoft.AspNetCore.Mvc.Razor.InjectChunk
Public Sub New (typeName As String, propertyName As String)

参数

typeName
String

要注入的属性的类型名称

propertyName
String

要注入的属性的成员名称。

适用于