社区
C#
帖子详情
c#
xinanhai
2010-09-03 11:37:21
恳请一下 下面的代码怎么理解 c#
ILayer player=new Featurelayerclass();
IGeofeaturelayer pGeofeaturelayer:
??????????
pGeofeaturelayer=(IGeofeaturelayer) player
??????
...全文
67
6
打赏
收藏
c#
恳请一下 下面的代码怎么理解 c# ILayer player=new Featurelayerclass(); IGeofeaturelayer pGeofeaturelayer: ?????????? pGeofeaturelayer=(IGeofeaturelayer) player ??????
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
卧_槽
2010-09-03
打赏
举报
回复
[Quote=引用楼主 xinanhai 的回复:]
恳请一下 下面的代码怎么理解 c#
ILayer player=new Featurelayerclass();
IGeofeaturelayer pGeofeaturelayer: ??????????
pGeofeaturelayer=(IGeofeaturelayer) player ??????
[/Quote]
从编写规则来看ILayer是一个接口。IGeofeaturelayer 看起来也是一个接口。
Featurelayerclass应该是俩接口都继承了。
反正写的不好,特乱。
zhq_442577358
2010-09-03
打赏
举报
回复
一塌糊涂
ztenv
2010-09-03
打赏
举报
回复
使用了非英文的字符串,并且你的电脑上没有那个字库,导致了现在的情况;
bdmh
2010-09-03
打赏
举报
回复
IGeofeaturelayer pGeofeaturelayer,声明IGeofeaturelayer 类型的变量
pGeofeaturelayer=(IGeofeaturelayer) player ,将player 转为IGeofeaturelayer类型
xinanhai
2010-09-03
打赏
举报
回复
多谢一楼!应该是这样
woshierbiluanzi
2010-09-03
打赏
举报
回复
学习了。
C#
高性能大容量SOCKET并发完成端口例子(有
C#
客户端)完整实例源码
例子主要包括SocketAsyncEventArgs通讯封装、服务端实现日志查看、SCOKET列表、上传、下载、远程文件流、吞吐量协议,...服务端用
C#
编写,并使用log4net作为日志模块; 同时支持65536个连接,网络吞吐量可以达到400M。
C#
访问OPC读取数据
C#
访问OPC读取数据 一般用于自动化编程
C#
自定义控件库
C#
自定义控件库
c#
+多年积累的类库(非常全)
c#
+多年积累的类库(非常全),分享给大家,XML操作,文件操作,图形操作,数据库操作
C#
的Socket实现UDP协议通信
C#
的Socket实现UDP协议通信 CSharp
C#
110,536
社区成员
642,578
社区内容
发帖
与我相关
我的任务
C#
.NET技术 C#
复制链接
扫一扫
分享
社区描述
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧
+ 用AI写文章