Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface System.​ComponentModel.​Design.​IDictionaryService

Assembly: System.ComponentModel.TypeConverter

Provides a basic, component site-specific, key-value pair dictionary through a service that a designer can use to store user-defined data.

Methods

object
GetKey​(object value)
Gets the key corresponding to the specified value.
Returns The associated key, or <see langword="null" /> if no key exists.
value The value to look up in the dictionary.
object
GetValue​(object key)
Gets the value corresponding to the specified key.
Returns The associated value, or <see langword="null" /> if no value exists.
key The key to look up the value for.
void
SetValue​(object key, object value)
Sets the specified key-value pair.
key An object to use as the key to associate the value with.
value The value to store.