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.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈