Re: Interesting VS 2003 designer behavior
From: Jeffrey Tan[MSFT] (v-jetan_at_online.microsoft.com)
Date: 12/07/04
- Next message: LF: "Re: Interesting VS 2003 designer behavior"
- Previous message: Scott McChesney: "Re: where is the Line Control ?"
- In reply to: LF: "Re: Interesting VS 2003 designer behavior"
- Next in thread: LF: "Re: Interesting VS 2003 designer behavior"
- Reply: LF: "Re: Interesting VS 2003 designer behavior"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 07 Dec 2004 02:44:48 GMT
Hi LF,
Thanks very much for your feedback!!
Yes, I see that your collection item class has 2 overloading constructor
one requires string parameter, another requires int parameter.
But the collection class's AddRange is to add the class item array into the
collection, not the class item's constructor parameter array, we should
only provide "AddRange(Data [] data)" for the collection class, because the
item in the collection is of type "Data".
In the AddRange method, currently for VS.net 2003, it does not know of the
class item's constructor parameter, so your way of implementing AddRange is
not supported in VS.net 2003. I hope I have explained it clearly.
I am not sure if VS 2005 supports this way of implementing AddRange method,
anyway, it is in beta version, and it is not in offical support now. So in
current VS.net 2003 version, the only supported way is passing class item
array as parameter for AddRange method.
Hope this information makes sense to you.
=============================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
- Next message: LF: "Re: Interesting VS 2003 designer behavior"
- Previous message: Scott McChesney: "Re: where is the Line Control ?"
- In reply to: LF: "Re: Interesting VS 2003 designer behavior"
- Next in thread: LF: "Re: Interesting VS 2003 designer behavior"
- Reply: LF: "Re: Interesting VS 2003 designer behavior"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|