TargetTypeDictionaryTryGetValue(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
if the object that implements IDictionaryTKey, TValue contains an element with the specified key; otherwise, .

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)

Exceptions

See Also