J John Feb 9, 2008 #1 Hi What does the question mark mean after Integer in CType(Company_ID, Integer?) ? Thanks Regards
H Herfried K. Wagner [MVP] Feb 9, 2008 #2 John said: What does the question mark mean after Integer in CType(Company_ID, Integer?) ? Click to expand... 'Integer?' is just another way to express 'Nullable(Of Integer)'. The statement above converts 'Company_ID' to a nullable integer. The syntax '<type>?' is supported by VB since VB 2008.
John said: What does the question mark mean after Integer in CType(Company_ID, Integer?) ? Click to expand... 'Integer?' is just another way to express 'Nullable(Of Integer)'. The statement above converts 'Company_ID' to a nullable integer. The syntax '<type>?' is supported by VB since VB 2008.
P Phill W. Feb 13, 2008 #3 Herfried said: 'Integer?' is just another way to express 'Nullable(Of Integer)'. Click to expand... A /new/ Type Declaration Character after all these years? Will Wonders never cease? Will Our Friend in Redmond /ever/ make their minds up where they're trying to go with this language (today or any other day)? ;-) (Rant over)... Regards, Phill W.
Herfried said: 'Integer?' is just another way to express 'Nullable(Of Integer)'. Click to expand... A /new/ Type Declaration Character after all these years? Will Wonders never cease? Will Our Friend in Redmond /ever/ make their minds up where they're trying to go with this language (today or any other day)? ;-) (Rant over)... Regards, Phill W.