RazorPage.InvalidTagHelperIndexerAssignment(String, String, String) 方法

定义

当标记帮助程序属性为 null时,设置有关使用索引器的错误消息的格式。

public:
 static System::String ^ InvalidTagHelperIndexerAssignment(System::String ^ attributeName, System::String ^ tagHelperTypeName, System::String ^ propertyName);
public static string InvalidTagHelperIndexerAssignment (string attributeName, string tagHelperTypeName, string propertyName);
static member InvalidTagHelperIndexerAssignment : string * string * string -> string
Public Shared Function InvalidTagHelperIndexerAssignment (attributeName As String, tagHelperTypeName As String, propertyName As String) As String

参数

attributeName
String

与索引器关联的 HTML 属性的名称。

tagHelperTypeName
String

标记帮助程序的 Type全名。

propertyName
String

标记帮助程序中的 Dictionary 属性。

返回

当标记帮助程序属性为 null时,有关使用索引器的错误消息。

适用于