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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om