TagHelperAttributeList.Add Método

Definición

Sobrecargas

Add(TagHelperAttribute)
Add(String, Object)

Agrega un TagHelperAttribute objeto al final de la colección con el especificado name y value.

Add(TagHelperAttribute)

Adds an item to the ICollection<T>.

public:
 virtual void Add(Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^ attribute);
public void Add (Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute attribute);
abstract member Add : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute -> unit
override this.Add : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute -> unit
Public Sub Add (attribute As TagHelperAttribute)

Parámetros

attribute
TagHelperAttribute

Implementaciones

Se aplica a

Add(String, Object)

Agrega un TagHelperAttribute objeto al final de la colección con el especificado name y value.

public:
 void Add(System::String ^ name, System::Object ^ value);
public void Add (string name, object value);
member this.Add : string * obj -> unit
Public Sub Add (name As String, value As Object)

Parámetros

name
String

del Name atributo que se va a agregar.

value
Object

del Value atributo que se va a agregar.

Se aplica a