TryGetPropertyDefinition method

bool TryGetPropertyDefinition(
  1. String xmlElementName,
  2. OutParam<PropertyDefinition> propertyDefinitionOutParam
)
Tries to get property definition. Name of the XML element. The property definition.

Implementation

bool TryGetPropertyDefinition(
  String xmlElementName,
  OutParam<PropertyDefinition> propertyDefinitionOutParam,
) {
  if (_properties.containsKey(xmlElementName)) {
    propertyDefinitionOutParam.param = _properties[xmlElementName];
    return true;
  } else {
    return false;
  }
}