RazorPageBase.InvalidTagHelperIndexerAssignment 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当标记帮助程序属性为 null
时,设置有关使用索引器的错误消息的格式。
public:
System::String ^ InvalidTagHelperIndexerAssignment(System::String ^ attributeName, System::String ^ tagHelperTypeName, System::String ^ propertyName);
public string InvalidTagHelperIndexerAssignment (string attributeName, string tagHelperTypeName, string propertyName);
member this.InvalidTagHelperIndexerAssignment : string * string * string -> string
Public Function InvalidTagHelperIndexerAssignment (attributeName As String, tagHelperTypeName As String, propertyName As String) As String
参数
- attributeName
- String
与索引器关联的 HTML 属性的名称。
- propertyName
- String
标记帮助程序中的 Dictionary 属性。
返回
当标记帮助程序属性为 null
时,有关使用索引器的错误消息。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈