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 (this._properties.containsKey(xmlElementName)) {
    propertyDefinitionOutParam.param = this._properties[xmlElementName];
    return true;
  } else {
    return false;
  }
}