AdcsDbPropertyCollectionTryGetValue Method |
Gets the value associated with the specified key.
Namespace:
SysadminsLV.PKI.Management.CertificateServices.Database
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public bool TryGetValue(
string key,
out Object value
)
Public Function TryGetValue (
key As String,
<OutAttribute> ByRef value As Object
) As Boolean
public:
virtual bool TryGetValue(
String^ key,
[OutAttribute] Object^% value
) sealed
abstract TryGetValue :
key : string *
value : Object byref -> bool
override TryGetValue :
key : string *
value : Object byref -> bool
Parameters
- key
- Type: SystemString
The key of the value to get. - value
- Type: SystemObject
When this method returns, contains 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.
Return Value
Type:
BooleanTrue if the dictionary contains an element with the specified key;
otherwise,
False.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)See Also