TagHelperAttributeList Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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 |
| TagHelperAttributeList(List<TagHelperAttribute>) |
Crea una instancia de TagHelperAttributeList con el especificado |
Propiedades
| Item[Int32] | Gets or sets the element at the specified index. |
| Item[String] |
Obtiene el primero TagHelperAttribute con Name la coincidencia |
Métodos
| Add(String, Object) |
Agrega un TagHelperAttribute objeto al final de la colección con el especificado |
| Add(TagHelperAttribute) | Adds an item to the ICollection<T>. |
| Clear() | Removes all items from the ICollection<T>. |
| ContainsName(String) |
Determina si existe un TagHelperAttribute objeto con Name coincidencia |
| IndexOfName(String) |
Busca coincidencias TagHelperAttribute Name entre mayúsculas y minúsculas |
| Insert(Int32, TagHelperAttribute) | Inserts an item to the IList<T> at the specified index. |
| Remove(TagHelperAttribute) | Removes the first occurrence of a specific object from the ICollection<T>. |
| RemoveAll(String) |
Quita todos los TagHelperAttributeelementos con Name la coincidencia |
| RemoveAt(Int32) | Removes the IList<T> item at the specified index. |
| SetAttribute(String, Object) |
Reemplaza el primero TagHelperAttribute por la coincidencia |
| SetAttribute(TagHelperAttribute) |
Reemplaza el primero TagHelperAttribute por los elementos Name coincidentes |
| TryGetAttribute(String, TagHelperAttribute) |
Recupera el primero TagHelperAttribute con Name la coincidencia |
| TryGetAttributes(String, IReadOnlyList<TagHelperAttribute>) |
TagHelperAttributeRecupera s de la colección con Name la coincidencia |
Implementaciones de interfaz explícitas
| ICollection<TagHelperAttribute>.IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. |