PersonalizationDictionary.IDictionary.Item[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Item[Object] property value for the PersonalizationDictionary class.
property System::Object ^ System::Collections::IDictionary::Item[System::Object ^] { System::Object ^ get(System::Object ^ key); void set(System::Object ^ key, System::Object ^ value); };
object System.Collections.IDictionary.Item[object key] { get; set; }
member this.System.Collections.IDictionary.Item(obj) : obj with get, set
Property Item(key As Object) As Object Implements IDictionary.Item
Parameters
- key
- Object
A String that identifies a particular PersonalizationEntry object in the personalization dictionary.
Property Value
A PersonalizationEntry object whose value matches key
.
Implements
Exceptions
key
is not a String object.
Remarks
The Item[] first ensures that key
is a String object, and if so, it calls the PersonalizationDictionary class's own Item[] property to return the PersonalizationEntry whose key equals key
in the current dictionary.