RazorPage.InvalidTagHelperIndexerAssignment(String, String, String) Method

Definition

Format an error message about using an indexer when the tag helper property is 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

Parameters

attributeName
String

Name of the HTML attribute associated with the indexer.

tagHelperTypeName
String

Full name of the tag helper Type.

propertyName
String

Dictionary property in the tag helper.

Returns

An error message about using an indexer when the tag helper property is null.

Applies to