ValidationAttributeAdapter<TAttribute>.MergeAttribute Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
için key
bir değer içermiyorsa attributes
verilen key
ve value
değerini eklerattributes
.
protected:
static bool MergeAttribute(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ attributes, System::String ^ key, System::String ^ value);
protected static bool MergeAttribute (System.Collections.Generic.IDictionary<string,string> attributes, string key, string value);
static member MergeAttribute : System.Collections.Generic.IDictionary<string, string> * string * string -> bool
Protected Shared Function MergeAttribute (attributes As IDictionary(Of String, String), key As String, value As String) As Boolean
Parametreler
- attributes
- IDictionary<String,String>
HTML öznitelikleri sözlüğü.
- key
- String
Öznitelik anahtarı.
- value
- String
Öznitelik değeri.
Döndürülenler
true
bir öznitelik eklendiyse, aksi takdirde false
.