ScopeStorageDictionary.TryGetValue(Object, Object) ScopeStorageDictionary.TryGetValue(Object, Object) ScopeStorageDictionary.TryGetValue(Object, Object) Method

Definition

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 *  -> bool
override this.TryGetValue : obj *  -> bool
Public Overridable Function TryGetValue (key As Object, ByRef value As Object) As Boolean
Parameters
key
Object Object Object

The key.

value
Object Object 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