 | 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
Syntaxpublic bool TryGetValue(
string name,
out string value
)
Public Function TryGetValue (
name As String,
<OutAttribute> ByRef value As String
) As Boolean
public:
virtual bool TryGetValue(
String^ name,
[OutAttribute] String^% value
) sealed
Request Example
View SourceParameters
- 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:
Booleantrue if the collection contains an element with the specified name; otherwise,
false.
See Also