public GeocodeResult(PropertySet properties)
{
foreach (PropertySetProperty property in properties.PropertyArray) {
if (property.Key == "Status") {
_status = (string)property.Value;
} else if ((property.Key == "Score") && (property.Value != null)) {
_score = (short)property.Value;
} else if ((property.Key == "X") && (property.Value != null)) {
_x = (double)property.Value;
} else if ((property.Key == "Y") && (property.Value != null)) {
_y = (double)property.Value;
} else if (property.Key == "Match_addr") {
_address = (string)property.Value;
}
}
}