TryGetValue method
Tries to retrieve the value of the specified property.
The property for which to retrieve a value.
If the method succeeds, contains the value of the property.
Implementation
bool TryGetValue(
PropertyDefinition propertyDefinition,
OutParam<Object> propertyValueOutParam,
) {
if (_properties.containsKey(propertyDefinition)) {
Object? param = _properties[propertyDefinition];
propertyValueOutParam.param = param;
return true;
} else {
propertyValueOutParam.param = null;
return false;
}
}