Gets the value associated with the specified key.

Namespace: BlueCieloECM.InnoCielo.Meridian.Server
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)

Syntax

C#
public bool TryGetValue(
	string key,
	out Object value
)
Visual Basic
Public Function TryGetValue ( _
	key As String, _
	<OutAttribute> ByRef value As Object _
) As Boolean
Visual C++
public:
bool TryGetValue(
	String^ key, 
	[OutAttribute] Object^% value
)

Parameters

key
Type: System..::..String
The key to locate in the collection: either the ID property value, or the Name property value, or the DisplayName property value of the element to get.
value
Type: System..::..Object%
When this method returns, contains the element associated with the specified key, if the key is found; otherwise, nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

trueTruetruetrue (True in Visual Basic) if the collection contains an element with the specified key; otherwise, falseFalsefalsefalse (False in Visual Basic).

See Also