Sdílet prostřednictvím


ReadOnlyTagHelperAttributeList Třída

Definice

Kolekce TagHelperAttributes jen pro čtení

public ref class ReadOnlyTagHelperAttributeList abstract : System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^>
public abstract class ReadOnlyTagHelperAttributeList : System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>
type ReadOnlyTagHelperAttributeList = class
    inherit ReadOnlyCollection<TagHelperAttribute>
Public MustInherit Class ReadOnlyTagHelperAttributeList
Inherits ReadOnlyCollection(Of TagHelperAttribute)
Dědičnost
ReadOnlyTagHelperAttributeList
Odvozené

Konstruktory

ReadOnlyTagHelperAttributeList()

Vytvoří instanci nové instance s ReadOnlyTagHelperAttributeList prázdnou kolekcí.

ReadOnlyTagHelperAttributeList(IList<TagHelperAttribute>)

Vytvoří instanci nové instance objektu ReadOnlyTagHelperAttributeList se zadaným attributesobjektem .

Vlastnosti

Item[String]

Získá první TagHelperAttribute s odpovídající name.Name

Metody

ContainsName(String)

Určuje, zda TagHelperAttributeName v kolekci existuje odpovídající name hodnota.

IndexOfName(String)

Vyhledá TagHelperAttribute objekt, který Name nerozlišuje velká a malá písmena, name a vrátí index prvního výskytu založený na nule.

NameEquals(String, TagHelperAttribute)

Určuje, jestli má zadaný attribute název stejný jako name.

TryGetAttribute(String, TagHelperAttribute)

Načte první TagHelperAttribute s odpovídající name.Name

TryGetAttributes(String, IReadOnlyList<TagHelperAttribute>)

Načte s v kolekci s odpovídajícími Namenameobjekty TagHelperAttribute.

Platí pro