On May 28, 2013, at 9:14 AM, Devulder jean-paul <[email protected]> wrote:
> I want add to my class a properties with 2 parameters > > like: > > dim mc as new myclass > > mc.myprop(2,4) = 5 This would be an array. if you want a property that has two items to it consider creating a pair. The pair data type allows you to specify a "left" value and a "right" value. So: mc.mypair = 5 : 10 Then you refer to it as: Dim i as integer = mc.mypair.left i then would equal 5. The values in a pair are variants so they can hold just about any sort of data type. Jon _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
