TargetTypeDictionaryTryGetValue(String, Target, ReferenceLinkType) Method
This attempts to retrieve the item with the specified key, returning it along with the reference
link type with which it is associated.
Namespace: Sandcastle.Tools.BuildComponents.TargetsAssembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2024.12.21.0
public bool TryGetValue(
string key,
out Target value,
out ReferenceLinkType linkType
)
Public Function TryGetValue (
key As String,
<OutAttribute> ByRef value As Target,
<OutAttribute> ByRef linkType As ReferenceLinkType
) As Boolean
public:
bool TryGetValue(
String^ key,
[OutAttribute] Target^% value,
[OutAttribute] ReferenceLinkType% linkType
)
member TryGetValue :
key : string *
value : Target byref *
linkType : ReferenceLinkType byref -> bool
- key String
- The item key to look up
- value Target
- On return, this will contain the item value if found
- linkType ReferenceLinkType
- On return, this will contain the link type of the item if found
BooleanTrue if the item was found, false if not