TargetDictionaryTryGetValue Method
Gets the value associated with the specified key.
Namespace: Sandcastle.Tools.BuildComponents.TargetsAssembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2024.12.21.0
public abstract bool TryGetValue(
string key,
out Target value
)
Public MustOverride Function TryGetValue (
key As String,
<OutAttribute> ByRef value As Target
) As Boolean
public:
virtual bool TryGetValue(
String^ key,
[OutAttribute] Target^% value
) abstract
abstract TryGetValue :
key : string *
value : Target byref -> bool
- 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.
Boolean if the object that implements
IDictionaryTKey, TValue contains an element with the specified key; otherwise,
.
IDictionaryTKey, TValueTryGetValue(TKey, TValue)