TryGetProperty method

bool TryGetProperty(
  1. PropertyDefinition propertyDefinition,
  2. OutParam<Object> propertyValueOutParam
)
Tries to get a property value based on a property definition. The property definition. The property value.

Implementation

bool TryGetProperty(PropertyDefinition propertyDefinition,
    OutParam<Object> propertyValueOutParam) {
  OutParam<ServiceLocalException> serviceExceptionOutParam =
      new OutParam<ServiceLocalException>();
  propertyValueOutParam.param = this.GetPropertyValueOrException(
      propertyDefinition, serviceExceptionOutParam);
  return serviceExceptionOutParam.param == null;
}