TagHelperAttributeList Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of TagHelperAttributes.
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)
- Inheritance
- Implements
Constructors
TagHelperAttributeList() |
Instantiates a new instance of TagHelperAttributeList with an empty collection. |
TagHelperAttributeList(IEnumerable<TagHelperAttribute>) |
Instantiates a new instance of TagHelperAttributeList with the specified
|
TagHelperAttributeList(List<TagHelperAttribute>) |
Instantiates a new instance of TagHelperAttributeList with the specified
|
Properties
Item[Int32] | Gets or sets the element at the specified index. |
Item[String] |
Gets the first TagHelperAttribute with Name
matching |
Methods
Add(String, Object) |
Adds a TagHelperAttribute to the end of the collection with the specified
|
Add(TagHelperAttribute) | Adds an item to the ICollection<T>. |
Clear() | Removes all items from the ICollection<T>. |
ContainsName(String) |
Determines whether a TagHelperAttribute with Name
matching |
IndexOfName(String) |
Searches for a TagHelperAttribute who's Name
case-insensitively matches |
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) |
Removes all TagHelperAttributes with Name matching
|
RemoveAt(Int32) | Removes the IList<T> item at the specified index. |
SetAttribute(String, Object) |
Replaces the first TagHelperAttribute with Name matching
|
SetAttribute(TagHelperAttribute) |
Replaces the first TagHelperAttribute with Name matching
|
TryGetAttribute(String, TagHelperAttribute) |
Retrieves the first TagHelperAttribute with Name
matching |
TryGetAttributes(String, IReadOnlyList<TagHelperAttribute>) |
Retrieves TagHelperAttributes in the collection with
Name matching |
Explicit Interface Implementations
ICollection<TagHelperAttribute>.IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. |