int Data Type, Primitive or Not?
From: Nate Laws (Laws_at_discussions.microsoft.com)
Date: 08/09/04
- Previous message: Lars-Inge Tønnessen [VJ# MVP]: "Re: Use VJ# as a way to learn Java?"
- Next in thread: Lars-Inge Tønnessen [VJ# MVP]: "Re: int Data Type, Primitive or Not?"
- Reply: Lars-Inge Tønnessen [VJ# MVP]: "Re: int Data Type, Primitive or Not?"
- Reply: Bruno Jouhier [MVP]: "Re: int Data Type, Primitive or Not?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 9 Aug 2004 09:28:49 -0700
The reason I ask is because I need a way to pass an integer to
Microsoft.Office.Interop.Excel.SeriesCollection.Item(Object)
In C#, int is aliased to System.Int32 so doing something like
SeriesCollection.Item(1) works fine.
However, in J# this will not even compile, and doing something like
SeriesCollection.Item(new Integer("1")) throws a "Item method of
SeriesCollection class failed" exception for me.
Thanks,
Nate
- Previous message: Lars-Inge Tønnessen [VJ# MVP]: "Re: Use VJ# as a way to learn Java?"
- Next in thread: Lars-Inge Tønnessen [VJ# MVP]: "Re: int Data Type, Primitive or Not?"
- Reply: Lars-Inge Tønnessen [VJ# MVP]: "Re: int Data Type, Primitive or Not?"
- Reply: Bruno Jouhier [MVP]: "Re: int Data Type, Primitive or Not?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading