BCCollectionBaseTryGetValue Method |
Gets the value associated with the specified key.
Namespace: BlueCieloECM.InnoCielo.Meridian.ServerAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.19.0)
Syntaxpublic bool TryGetValue(
string key,
out Object value
)
Public Function TryGetValue (
key As String,
<OutAttribute> ByRef value As Object
) As Boolean
public:
bool TryGetValue(
String^ key,
[OutAttribute] Object^% value
)
member TryGetValue :
key : string *
value : Object byref -> bool
Parameters
- key
- Type: SystemString
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: SystemObject
When this method returns, contains the element associated with the specified key,
if the key is found; otherwise, .
Return Value
Type:
Boolean if the collection contains an element with the specified key;
otherwise,
.
See Also