Udostępnij za pośrednictwem


ReadOnlyTagHelperAttributeList Klasa

Definicja

Kolekcja tylko do TagHelperAttributeodczytu s.

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)
Dziedziczenie
ReadOnlyTagHelperAttributeList
Pochodne

Konstruktory

ReadOnlyTagHelperAttributeList()

Tworzy wystąpienie nowego wystąpienia z ReadOnlyTagHelperAttributeList pustą kolekcją.

ReadOnlyTagHelperAttributeList(IList<TagHelperAttribute>)

Tworzy wystąpienie nowego wystąpienia z ReadOnlyTagHelperAttributeList określonym attributeselementem .

Właściwości

Item[String]

Pobiera pierwszy TagHelperAttribute z pasującymi nameelementami Name .

Metody

ContainsName(String)

Określa, czy element z Name dopasowaniem TagHelperAttributename istnieje w kolekcji.

IndexOfName(String)

Wyszukuje bez uwzględniania Namename wielkości liter i TagHelperAttribute zwraca indeks zerowy pierwszego wystąpienia.

NameEquals(String, TagHelperAttribute)

Określa, czy określona attribute nazwa ma taką samą nazwę jak name.

TryGetAttribute(String, TagHelperAttribute)

Pobiera pierwszy TagHelperAttribute element z pasującym nameelementem Name .

TryGetAttributes(String, IReadOnlyList<TagHelperAttribute>)

TagHelperAttributePobiera s w kolekcji z pasującym nameelementem Name .

Dotyczy