TargetTypeDictionary.TryGetValue(String, Target) Method

Gets the value associated with the specified key.

Definition

Namespace: Sandcastle.Tools.BuildComponents.Targets
Assembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2024.12.21.0
public bool TryGetValue(
	string key,
	out Target value
)

Parameters

key  String
The key whose value to get.
value  Target
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Return Value

Boolean
true if the object that implements IDictionary<TKey, TValue> contains an element with the specified key; otherwise, false.

Implements

IDictionary<TKey, TValue>.TryGetValue(TKey, TValue)

Exceptions

See Also