Click or drag to resize
Task Scheduler Managed Class Library

NamedValueCollectionTryGetValue Method

Gets the value associated with the specified name.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public bool TryGetValue(
	string name,
	out string value
)
Request Example View Source

Parameters

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

Boolean
true if the collection contains an element with the specified name; otherwise, false.
See Also