简体   繁体   中英

Passing generic type of webmethod

im passing a array of KeyValuePair<string,string>[]

how ever when it get to my sliverlight client it turns into

{web service name}.KeyValuePairOfStringString

and i cant get the values from it.

any one got any ideas how i can access the key and value propties?

You should not be using ASMX web services with SilverLight. You should use WCF instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM