TagBuilder.MergeAttributes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>) |
合并属性字典。 |
MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>, Boolean) |
合并属性字典。 |
MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>)
- Source:
- TagBuilder.cs
- Source:
- TagBuilder.cs
合并属性字典。
public:
generic <typename TKey, typename TValue>
void MergeAttributes(System::Collections::Generic::IDictionary<TKey, TValue> ^ attributes);
public void MergeAttributes<TKey,TValue> (System.Collections.Generic.IDictionary<TKey,TValue> attributes);
public void MergeAttributes<TKey,TValue> (System.Collections.Generic.IDictionary<TKey,TValue?> attributes);
member this.MergeAttributes : System.Collections.Generic.IDictionary<'Key, 'Value> -> unit
Public Sub MergeAttributes(Of TKey, TValue) (attributes As IDictionary(Of TKey, TValue))
类型参数
- TKey
键类型。
- TValue
值类型。
参数
- attributes
- IDictionary<TKey,TValue>
属性。
适用于
MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>, Boolean)
- Source:
- TagBuilder.cs
- Source:
- TagBuilder.cs
合并属性字典。
public:
generic <typename TKey, typename TValue>
void MergeAttributes(System::Collections::Generic::IDictionary<TKey, TValue> ^ attributes, bool replaceExisting);
public void MergeAttributes<TKey,TValue> (System.Collections.Generic.IDictionary<TKey,TValue> attributes, bool replaceExisting);
public void MergeAttributes<TKey,TValue> (System.Collections.Generic.IDictionary<TKey,TValue?> attributes, bool replaceExisting);
member this.MergeAttributes : System.Collections.Generic.IDictionary<'Key, 'Value> * bool -> unit
Public Sub MergeAttributes(Of TKey, TValue) (attributes As IDictionary(Of TKey, TValue), replaceExisting As Boolean)
类型参数
- TKey
键类型。
- TValue
值类型。
参数
- attributes
- IDictionary<TKey,TValue>
属性。
- replaceExisting
- Boolean
是否替换现有属性。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈