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 T value
)
Visual Basic
Public Function TryGetValue ( _
	key As String, _
	<OutAttribute> ByRef value As T _
) As Boolean
Visual C++
public:
bool TryGetValue(
	String^ key, 
	[OutAttribute] T% value
)

Parameters

key
Type: System..::..String
The key to locate in the collection: either the user work list (if collection of BCUser objects) or the name of group (if collection of BCUserGroup objects) to get. of the element to get.
value
Type: T%
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