 | NamedValueCollectionTryGetValue Method |
Gets the value associated with the specified name.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntaxpublic bool TryGetValue(
string name,
out string value
)
Request Example
View SourceParameters
- name String
- The name whose value to get.
- value String
- When this method returns, the value associated with the specified name, if the name is found; otherwise, null. This parameter is passed uninitialized.
Return Value
Booleantrue if the collection contains an element with the specified name; otherwise,
false.
See Also