PropertyBagTryGetValue Method |
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
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 String
- The name of the property to locate.
- value Object
- The property value if the property was found, null otherwise.
Return Value
BooleanTrue if the property was found,
false otherwise.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)See Also