InjectChunk(String, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示语句的 @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
要注入的属性的成员名称。