NameScope::TryGetValue Method (String^, Object^%)
.NET Framework (current version)
Gets the value associated with the specified key.
Assembly: WindowsBase (in WindowsBase.dll)
Parameters
- key
-
Type:
System::String^
The key of the value to get.
- value
-
Type:
System::Object^%
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, a null object. This parameter is passed uninitialized.
Return Value
Type: System::Booleantrue if the NameScope contains a mapping for the name provided as key. Otherwise, false.
.NET Framework
Available since 4.0
Available since 4.0
Show: