阅读:2483回复:5
在c#这个addPoint函数如何用?private IPointCollection pPts pPts.addPoint(IPoint pt,ref object before,ref object after) //如何设置后两个参数呢?vb中可以省略的 |
|
1楼#
发布于:2006-01-06 17:16
已经解决 |
|
2楼#
发布于:2006-02-09 15:25
怎么解决的? |
|
3楼#
发布于:2009-01-02 10:25
怎么解决的啊? |
|
4楼#
发布于:2009-02-06 15:42
后面两个参数用TypeMissing替代就行了。 TypeMissing o; pPts.addPoint(IPoint pt,ref o,ref o); 好像是这个样子。 |
|
5楼#
发布于:2009-03-07 10:38
public void AddPoint ( Optional Values before To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
after To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[此贴子已经被作者于2009-3-7 10:39:16编辑过] |
|
|