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.10.1
Syntax
public bool TryGetValue(
	string name,
	out string value
)
Request Example View Source

Parameters

name
Type: SystemString
The name whose value to get.
value
Type: SystemString
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

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