帮助说明 [英] Help with explanation
本文介绍了帮助说明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一些很难理解的代码.有人可以帮我逐行分解吗?
I have some codes that i find very hard to understand. Can someone help me break it down line by line?
Service1Client client = new Service1Client();
client.getPrimaryListCompleted += new EventHandler<getPrimaryListCompletedEventArgs>(AddPrimaryMarkerGraphics);
client.getPrimaryListAsync();
推荐答案
第一行创建类Service1Client
的实例.
第二行为事件getPrimaryListCompleted
连接事件处理程序.
The second line hooks up an event handler for the event getPrimaryListCompleted
.
第三行启动异步请求.当有响应时,将触发getPrimaryListCompleted
,以便事件处理程序可以使用该响应.
the third line starts an asynchronous request. When there is a response, the getPrimaryListCompleted
will be triggered so that the event handler can use the response.
这篇关于帮助说明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文