/// <remarks/> public void GetBestMapViewAsync(Location[] locations, string dataSourceName) { this.GetBestMapViewAsync(locations, dataSourceName, null); }
/// <remarks/> public void GetBestMapViewAsync(Location[] locations, string dataSourceName, object userState) { if ((this.GetBestMapViewOperationCompleted == null)) { this.GetBestMapViewOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetBestMapViewOperationCompleted); } this.InvokeAsync("GetBestMapView", new object[] { locations, dataSourceName}, this.GetBestMapViewOperationCompleted, userState); }
public MapViewRepresentations GetBestMapView(Location[] locations, string dataSourceName) { object[] results = this.Invoke("GetBestMapView", new object[] { locations, dataSourceName}); return ((MapViewRepresentations)(results[0])); }