LanguageSpecificStringDictionary LanguageSpecificStringDictionary LanguageSpecificStringDictionary LanguageSpecificStringDictionary Class

Definition

Represents a dictionary of strings that are used to represent the name of an object in different languages.

public ref class LanguageSpecificStringDictionary sealed : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::Windows::Markup::XmlLanguage ^, System::String ^>>, System::Collections::Generic::IDictionary<System::Windows::Markup::XmlLanguage ^, System::String ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::Windows::Markup::XmlLanguage ^, System::String ^>>, System::Collections::IDictionary
public sealed class LanguageSpecificStringDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage,string>>, System.Collections.Generic.IDictionary<System.Windows.Markup.XmlLanguage,string>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage,string>>, System.Collections.IDictionary
type LanguageSpecificStringDictionary = class
    interface IDictionary<XmlLanguage, string>
    interface ICollection<KeyValuePair<XmlLanguage, string>>
    interface seq<KeyValuePair<XmlLanguage, string>>
    interface IEnumerable
    interface IDictionary
    interface ICollection
Public NotInheritable Class LanguageSpecificStringDictionary
Implements ICollection(Of KeyValuePair(Of XmlLanguage, String)), IDictionary, IDictionary(Of XmlLanguage, String), IEnumerable(Of KeyValuePair(Of XmlLanguage, String))
Inheritance
LanguageSpecificStringDictionaryLanguageSpecificStringDictionaryLanguageSpecificStringDictionaryLanguageSpecificStringDictionary
Implements

Properties

Count Count Count Count

Gets the number of strings in the LanguageSpecificStringDictionary.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether the LanguageSpecificStringDictionary is read-only.

Item[XmlLanguage] Item[XmlLanguage] Item[XmlLanguage] Item[XmlLanguage]

Gets or sets the string associated with the specified language.

Keys Keys Keys Keys

Gets a collection containing the keys, or XmlLanguage objects, in the dictionary.

Values Values Values Values

Gets a collection containing the values, or strings, in the dictionary.

Methods

Add(KeyValuePair<XmlLanguage,String>) Add(KeyValuePair<XmlLanguage,String>) Add(KeyValuePair<XmlLanguage,String>) Add(KeyValuePair<XmlLanguage,String>)

Adds a key/value pair to the LanguageSpecificStringDictionary.

Add(XmlLanguage, String) Add(XmlLanguage, String) Add(XmlLanguage, String) Add(XmlLanguage, String)

Adds a language and associated string to the LanguageSpecificStringDictionary.

Clear() Clear() Clear() Clear()

Removes all elements from the collection.

Contains(KeyValuePair<XmlLanguage,String>) Contains(KeyValuePair<XmlLanguage,String>) Contains(KeyValuePair<XmlLanguage,String>) Contains(KeyValuePair<XmlLanguage,String>)

Determines whether the LanguageSpecificStringDictionary contains the key/value pair.

ContainsKey(XmlLanguage) ContainsKey(XmlLanguage) ContainsKey(XmlLanguage) ContainsKey(XmlLanguage)

Determines whether the LanguageSpecificStringDictionary contains the specified language.

CopyTo(KeyValuePair<XmlLanguage,String>[], Int32) CopyTo(KeyValuePair<XmlLanguage,String>[], Int32) CopyTo(KeyValuePair<XmlLanguage,String>[], Int32) CopyTo(KeyValuePair<XmlLanguage,String>[], Int32)

Copies the elements of the LanguageSpecificStringDictionary to an array, starting at a specific array index.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(KeyValuePair<XmlLanguage,String>) Remove(KeyValuePair<XmlLanguage,String>) Remove(KeyValuePair<XmlLanguage,String>) Remove(KeyValuePair<XmlLanguage,String>)

Removes the element with the specified key/value pair from the collection.

Remove(XmlLanguage) Remove(XmlLanguage) Remove(XmlLanguage) Remove(XmlLanguage)

Removes the element from LanguageSpecificStringDictionary based on the specified key value.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGetValue(XmlLanguage, String) TryGetValue(XmlLanguage, String) TryGetValue(XmlLanguage, String) TryGetValue(XmlLanguage, String)

Retrieves the string value in the LanguageSpecificStringDictionary for a specified key, or language.

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

For a description of this member, see CopyTo(Array, Int32).

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

For a description of this member, see IsSynchronized.

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

For a description of this member, see SyncRoot.

IDictionary.Add(Object, Object) IDictionary.Add(Object, Object) IDictionary.Add(Object, Object) IDictionary.Add(Object, Object)

For a description of this member, see Add(Object, Object).

IDictionary.Contains(Object) IDictionary.Contains(Object) IDictionary.Contains(Object) IDictionary.Contains(Object)

For a description of this member, see Contains(Object).

IDictionary.GetEnumerator() IDictionary.GetEnumerator() IDictionary.GetEnumerator() IDictionary.GetEnumerator()

For a description of this member, see GetEnumerator().

IDictionary.IsFixedSize IDictionary.IsFixedSize IDictionary.IsFixedSize IDictionary.IsFixedSize

For a description of this member, see IsFixedSize.

IDictionary.Item[Object] IDictionary.Item[Object] IDictionary.Item[Object] IDictionary.Item[Object]

For a description of this member, see Item[Object].

IDictionary.Keys IDictionary.Keys IDictionary.Keys IDictionary.Keys

For a description of this member, see Keys.

IDictionary.Remove(Object) IDictionary.Remove(Object) IDictionary.Remove(Object) IDictionary.Remove(Object)

For a description of this member, see Remove(Object).

IDictionary.Values IDictionary.Values IDictionary.Values IDictionary.Values

For a description of this member, see Values.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

For a description of this member, see GetEnumerator().

Extension Methods

Remove<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) Remove<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) Remove<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) Remove<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue)
TryAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) TryAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) TryAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) TryAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue)
CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>)

Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>)

Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>)

Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>)

Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName)

Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>)

Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>)

Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>)

Removes every node in the source collection from its parent node.

Applies to