INameScopeDictionary INameScopeDictionary INameScopeDictionary INameScopeDictionary Interface

Definition

Unifies enumerable, collection, and dictionary support that are useful for exposing a dictionary of names in a XAML namescope.

public interface class INameScopeDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Windows::Markup::INameScope
public interface INameScopeDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.Windows.Markup.INameScope
type INameScopeDictionary = interface
    interface INameScope
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
Public Interface INameScopeDictionary
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), INameScope
Derived
Implements

Remarks

INameScopeDictionary defines no members of its own. Instead, the interface inherits IDictionary<TKey,TValue>, ICollection<T> and IEnumerable<T> generic interfaces, with String and Object (or a KeyValuePair<TKey,TValue> thereof) as constraints. INameScopeDictionary also inherits INameScope.

The INameScopeDictionary interface is used internally as a type for information passing, as part of object writer context for the WPF XAML implementation.

Methods

Add(T) Add(T) Add(T) Add(T)

Adds an item to the ICollection<T>.

(Inherited from ICollection<T>)

Add(TKey, TValue) Add(TKey, TValue) Add(TKey, TValue) Add(TKey, TValue)

Adds an element with the provided key and value to the IDictionary<TKey,TValue>.

(Inherited from IDictionary<TKey,TValue>)

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

Removes all items from the ICollection<T>.

(Inherited from ICollection<T>)

Contains(T) Contains(T) Contains(T) Contains(T)

Determines whether the ICollection<T> contains a specific value.

(Inherited from ICollection<T>)

ContainsKey(TKey) ContainsKey(TKey) ContainsKey(TKey) ContainsKey(TKey)

Determines whether the IDictionary<TKey,TValue> contains an element with the specified key.

(Inherited from IDictionary<TKey,TValue>)

CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

(Inherited from ICollection<T>)

FindName(String) FindName(String) FindName(String) FindName(String)

Returns an object that has the provided identifying name.

(Inherited from INameScope)

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)

RegisterName(String, Object) RegisterName(String, Object) RegisterName(String, Object) RegisterName(String, Object)

Registers the provided name into the current XAML namescope.

(Inherited from INameScope)

Remove(TKey) Remove(TKey) Remove(TKey) Remove(TKey)

Removes the element with the specified key from the IDictionary<TKey,TValue>.

(Inherited from IDictionary<TKey,TValue>)

TryGetValue(TKey, TValue) TryGetValue(TKey, TValue) TryGetValue(TKey, TValue) TryGetValue(TKey, TValue)

Gets the value associated with the specified key.

(Inherited from IDictionary<TKey,TValue>)

UnregisterName(String) UnregisterName(String) UnregisterName(String) UnregisterName(String)

Unregisters the provided name from the current XAML namescope.

(Inherited from INameScope)

Properties

Count Count Count Count

Gets the number of elements contained in the ICollection<T>.

(Inherited from ICollection<T>)

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

(Inherited from ICollection<T>)

Item[TKey] Item[TKey] Item[TKey] Item[TKey]

Gets or sets the element with the specified key.

(Inherited from IDictionary<TKey,TValue>)

Keys Keys Keys Keys

Gets an ICollection<T> containing the keys of the IDictionary<TKey,TValue>.

(Inherited from IDictionary<TKey,TValue>)

Values Values Values Values

Gets an ICollection<T> containing the values in the IDictionary<TKey,TValue>.

(Inherited from IDictionary<TKey,TValue>)

Applies to