TagHelperAttributeList 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| TagHelperAttributeList() |
使用空集合具現化 的新實例 TagHelperAttributeList 。 |
| TagHelperAttributeList(IEnumerable<TagHelperAttribute>) |
使用指定的 |
| TagHelperAttributeList(List<TagHelperAttribute>) |
使用指定的 |
TagHelperAttributeList()
使用空集合具現化 的新實例 TagHelperAttributeList 。
public:
TagHelperAttributeList();
public TagHelperAttributeList();
Public Sub New ()
適用於
TagHelperAttributeList(IEnumerable<TagHelperAttribute>)
使用指定的 attributes 具現化 的新實例 TagHelperAttributeList 。
public:
TagHelperAttributeList(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^> ^ attributes);
public TagHelperAttributeList(System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute> attributes);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList : seq<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute> -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList
Public Sub New (attributes As IEnumerable(Of TagHelperAttribute))
參數
- attributes
- IEnumerable<TagHelperAttribute>
要包裝的集合。
適用於
TagHelperAttributeList(List<TagHelperAttribute>)
使用指定的 attributes 具現化 的新實例 TagHelperAttributeList 。
public:
TagHelperAttributeList(System::Collections::Generic::List<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^> ^ attributes);
public TagHelperAttributeList(System.Collections.Generic.List<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute> attributes);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList : System.Collections.Generic.List<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute> -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList
Public Sub New (attributes As List(Of TagHelperAttribute))
參數
- attributes
- List<TagHelperAttribute>
要包裝的集合。