AttributeDictionary Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Slovník pro atributy HTML.
public ref class AttributeDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>>, System::Collections::Generic::IDictionary<System::String ^, System::String ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>>, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^>
public class AttributeDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,string>>, System.Collections.Generic.IDictionary<string,string>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string,string>>, System.Collections.Generic.IReadOnlyDictionary<string,string>
type AttributeDictionary = class
interface IDictionary<string, string>
interface ICollection<KeyValuePair<string, string>>
interface seq<KeyValuePair<string, string>>
interface IEnumerable
interface IReadOnlyDictionary<string, string>
interface IReadOnlyCollection<KeyValuePair<string, string>>
type AttributeDictionary = class
interface ICollection<KeyValuePair<string, string>>
interface seq<KeyValuePair<string, string>>
interface IEnumerable
interface IDictionary<string, string>
interface IReadOnlyCollection<KeyValuePair<string, string>>
interface IReadOnlyDictionary<string, string>
Public Class AttributeDictionary
Implements ICollection(Of KeyValuePair(Of String, String)), IDictionary(Of String, String), IEnumerable(Of KeyValuePair(Of String, String)), IReadOnlyCollection(Of KeyValuePair(Of String, String)), IReadOnlyDictionary(Of String, String)
- Dědičnost
-
AttributeDictionary
- Implementuje
-
ICollection<KeyValuePair<String,String>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,String> IEnumerable<KeyValuePair<String,String>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IReadOnlyCollection<KeyValuePair<String,String>> IReadOnlyCollection<KeyValuePair<TKey,TValue>> IReadOnlyDictionary<String,String> IEnumerable
Konstruktory
| AttributeDictionary() |
Vlastnosti
| Count | Gets the number of elements contained in the ICollection<T>. |
| IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. |
| Item[String] | Gets or sets the element with the specified key. |
| Keys | Gets an ICollection<T> containing the keys of the IDictionary<TKey,TValue>. |
| Values | Gets an ICollection<T> containing the values in the IDictionary<TKey,TValue>. |
Metody
| Add(KeyValuePair<String,String>) | Adds an item to the ICollection<T>. |
| Add(String, String) | Adds an element with the provided key and value to the IDictionary<TKey,TValue>. |
| Clear() | Removes all items from the ICollection<T>. |
| Contains(KeyValuePair<String,String>) | Determines whether the ICollection<T> contains a specific value. |
| ContainsKey(String) | Determines whether the IDictionary<TKey,TValue> contains an element with the specified key. |
| CopyTo(KeyValuePair<String,String>[], Int32) | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. |
| GetEnumerator() | System.Object.GetEnumerator |
| Remove(KeyValuePair<String,String>) | Removes the first occurrence of a specific object from the ICollection<T>. |
| Remove(String) | Removes the element with the specified key from the IDictionary<TKey,TValue>. |
| TryGetValue(String, String) | System.Object.TryGetValue(System.String,System.String@) |
Explicitní implementace rozhraní
| IEnumerable.GetEnumerator() | Returns an enumerator that iterates through a collection. |
| IEnumerable<KeyValuePair<String,String>>.GetEnumerator() | Returns an enumerator that iterates through the collection. |
| IReadOnlyDictionary<String,String>.Keys | Gets an enumerable collection that contains the keys in the read-only dictionary. |
| IReadOnlyDictionary<String,String>.Values | Gets an enumerable collection that contains the values in the read-only dictionary. |