ScopeStorageDictionary.TryGetValue(Object, 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.
Gets the value that is associated with the specified key from the concatenated ScopeStorageDictionary and BaseScope objects.
public virtual bool TryGetValue (object key, out object value);
abstract member TryGetValue : obj * obj -> bool
override this.TryGetValue : obj * obj -> bool
Public Overridable Function TryGetValue (key As Object, ByRef value As Object) As Boolean
Parameters
- key
- Object
The key.
- value
- Object
When this method returns, if the key is found, contains the value that is associated with the specified key; otherwise, the default value for the type of the value
parameter. This parameter is passed uninitialized.
Returns
true if the concatenated ScopeStorageDictionary and BaseScope objects contain an element that has the specified key; otherwise, false.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for