다음을 통해 공유


TagBuilder.MergeAttributes 메서드

정의

오버로드

MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>)

태그에 새 특성을 추가합니다.

MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>, Boolean)

태그에서 새 특성을 추가하거나 필요한 경우 기존 특성을 바꿉니다.

MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>)

태그에 새 특성을 추가합니다.

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)

태그에서 새 특성을 추가하거나 필요한 경우 기존 특성을 바꿉니다.

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

의 각 특성에 attributes대해 true이면 동일한 키가 있는 특성이 이미 있는 경우 특성을 바꾸거나 원래 특성을 변경하지 않은 상태로 두려면 false입니다.

적용 대상