Compartir a través de


TagHelperAttributeList Clase

Definición

Una colección de TagHelperAttribute.

public ref class TagHelperAttributeList : Microsoft::AspNetCore::Razor::TagHelpers::ReadOnlyTagHelperAttributeList, System::Collections::Generic::ICollection<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^>, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^>, System::Collections::Generic::IList<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^>
public class TagHelperAttributeList : Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList, System.Collections.Generic.ICollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>, System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>
type TagHelperAttributeList = class
    inherit ReadOnlyTagHelperAttributeList
    interface IList<TagHelperAttribute>
    interface ICollection<TagHelperAttribute>
    interface seq<TagHelperAttribute>
    interface IEnumerable
type TagHelperAttributeList = class
    inherit ReadOnlyTagHelperAttributeList
    interface ICollection<TagHelperAttribute>
    interface seq<TagHelperAttribute>
    interface IEnumerable
    interface IList<TagHelperAttribute>
Public Class TagHelperAttributeList
Inherits ReadOnlyTagHelperAttributeList
Implements ICollection(Of TagHelperAttribute), IEnumerable(Of TagHelperAttribute), IList(Of TagHelperAttribute)
Herencia
Implementaciones

Constructores

TagHelperAttributeList()

Crea una instancia de TagHelperAttributeList con una colección vacía.

TagHelperAttributeList(IEnumerable<TagHelperAttribute>)

Crea una instancia de TagHelperAttributeList con el especificado attributes.

TagHelperAttributeList(List<TagHelperAttribute>)

Crea una instancia de TagHelperAttributeList con el especificado attributes.

Propiedades

Item[Int32]

Una colección de TagHelperAttribute.

Item[String]

Obtiene el primero TagHelperAttribute con Name la coincidencia namede .

(Heredado de ReadOnlyTagHelperAttributeList)

Métodos

Add(String, Object)

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

Add(TagHelperAttribute)

Una colección de TagHelperAttribute.

Clear()

Una colección de TagHelperAttribute.

ContainsName(String)

Determina si existe un TagHelperAttribute objeto con Name coincidencia name en la colección.

(Heredado de ReadOnlyTagHelperAttributeList)
IndexOfName(String)

Busca una TagHelperAttribute que Name no distingue mayúsculas de minúsculas name y devuelve el índice de base cero de la primera aparición.

(Heredado de ReadOnlyTagHelperAttributeList)
Insert(Int32, TagHelperAttribute)

Una colección de TagHelperAttribute.

Remove(TagHelperAttribute)

Una colección de TagHelperAttribute.

RemoveAll(String)

Quita todos los TagHelperAttributeelementos con Name la coincidencia namede .

RemoveAt(Int32)

Una colección de TagHelperAttribute.

SetAttribute(String, Object)

Reemplaza el primero TagHelperAttribute por la coincidencia name y quita las coincidencias adicionalesTagHelperAttributeName. Si no se encuentra una coincidencia TagHelperAttribute , agrega un TagHelperAttribute con name y value al final de la colección.

SetAttribute(TagHelperAttribute)

Reemplaza el primero TagHelperAttribute por los elementos Name coincidentes attributey quita los elementos coincidentes TagHelperAttributeadicionales.Name Si no se encuentra una coincidencia TagHelperAttribute , agrega el especificado attribute al final de la colección.

TryGetAttribute(String, TagHelperAttribute)

Recupera el primero TagHelperAttribute con Name la coincidencia namede .

(Heredado de ReadOnlyTagHelperAttributeList)
TryGetAttributes(String, IReadOnlyList<TagHelperAttribute>)

TagHelperAttributeRecupera s de la colección con Name la coincidencia namede .

(Heredado de ReadOnlyTagHelperAttributeList)

Implementaciones de interfaz explícitas

ICollection<TagHelperAttribute>.IsReadOnly

Una colección de TagHelperAttribute.

Se aplica a