UserConfigurationDictionary.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.
public:
bool TryGetValue(System::Object ^ key, [Runtime::InteropServices::Out] System::Object ^ % value);
public bool TryGetValue (object key, out object value);
Public Function TryGetValue (key As Object, ByRef value As Object) As Boolean
Parameters
- key
- Object
A user configuration dictionary entry key.
- value
- Object
If the key is found, the value that is associated with the specified key; otherwise, a null reference (Nothing in Visual Basic).
Returns
true if the user configuration dictionary contains the key; otherwise, false.