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