PersonalizationDictionary.IDictionary.Contains(Object) Method
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.
Implements the Contains(Object) method for the PersonalizationDictionary class.
virtual bool System.Collections.IDictionary.Contains(System::Object ^ key) = System::Collections::IDictionary::Contains;
bool IDictionary.Contains (object key);
abstract member System.Collections.IDictionary.Contains : obj -> bool
override this.System.Collections.IDictionary.Contains : obj -> bool
Function Contains (key As Object) As Boolean Implements IDictionary.Contains
Parameters
- key
- Object
A String object that identifies a particular PersonalizationEntry to check for existence in the personalization dictionary.
Returns
true
if key
exists in the personalization dictionary; otherwise false
.
Implements
Exceptions
key
is not a String.
Remarks
The Contains method checks key
to ensure it is a valid object for checking the personalization dictionary, and if so, it passes it to the PersonalizationDictionary class's own Contains method.
Applies to
See also
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk