ArcGIS.GeocodeService.Geocode C# (CSharp) Метод

Geocode() публичный статический Метод

public static Geocode ( string serviceUri, string address ) : GeocodeResult
serviceUri string
address string
Результат GeocodeResult
        public static GeocodeResult Geocode(string serviceUri, string address)
        {
            GeocodeServerProxy proxy = new GeocodeServerProxy(serviceUri);
            PropertySet geocodePropSet = new PropertySet();
            PropertySetProperty geocodeProp = new PropertySetProperty();
            geocodeProp.Key = "KeyField";
            geocodeProp.Value = address;
            geocodePropSet.PropertyArray = new PropertySetProperty[] { geocodeProp };
            PropertySet results = proxy.GeocodeAddress(geocodePropSet, null);
            return new GeocodeResult(results);
        }
GeocodeService