TagHelperAttributeList Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Kolekce s 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)
- Dědičnost
- Implementuje
Konstruktory
| TagHelperAttributeList() |
Vytvoří instanci nové instance TagHelperAttributeList s prázdnou kolekcí. |
| TagHelperAttributeList(IEnumerable<TagHelperAttribute>) |
Vytvoří instanci nové instance TagHelperAttributeList se zadaným |
| TagHelperAttributeList(List<TagHelperAttribute>) |
Vytvoří instanci nové instance TagHelperAttributeList se zadaným |
Vlastnosti
| Item[Int32] | Gets or sets the element at the specified index. |
| Item[String] |
Získá první TagHelperAttribute s párování |
Metody
| Add(String, Object) |
TagHelperAttribute Přidá na konec kolekce se zadaným |
| Add(TagHelperAttribute) | Adds an item to the ICollection<T>. |
| Clear() | Removes all items from the ICollection<T>. |
| ContainsName(String) |
Určuje, zda TagHelperAttribute v kolekci existuje odpovídající |
| IndexOfName(String) |
TagHelperAttribute Vyhledá, kdo nerozlišuje Name |
| 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) |
Odebere všechny TagHelperAttributes odpovídajícími |
| RemoveAt(Int32) | Removes the IList<T> item at the specified index. |
| SetAttribute(String, Object) |
Nahradí první TagHelperAttribute shodou |
| SetAttribute(TagHelperAttribute) |
Nahradí první TagHelperAttribute shodným |
| TryGetAttribute(String, TagHelperAttribute) |
Načte první TagHelperAttribute s odpovídajícími Name |
| TryGetAttributes(String, IReadOnlyList<TagHelperAttribute>) |
Načte TagHelperAttributes v kolekci s odpovídajícími Name |
Explicitní implementace rozhraní
| ICollection<TagHelperAttribute>.IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. |