Click here to Skip to main content
15,889,526 members
Home / Discussions / C#
   

C#

 
GeneralRe: Xml Serialization and Interfaces... Pin
leppie2-Aug-04 1:03
leppie2-Aug-04 1:03 
GeneralRe: Xml Serialization and Interfaces... Pin
mgaerber2-Aug-04 1:36
mgaerber2-Aug-04 1:36 
GeneralRe: Xml Serialization and Interfaces... Pin
leppie2-Aug-04 4:13
leppie2-Aug-04 4:13 
GeneralRe: Xml Serialization and Interfaces... Pin
mgaerber12-Aug-04 23:10
mgaerber12-Aug-04 23:10 
GeneralReflection and array´s... Pin
Norman-Timo2-Aug-04 0:43
Norman-Timo2-Aug-04 0:43 
GeneralRe: Reflection and array´s... Pin
leppie2-Aug-04 1:01
leppie2-Aug-04 1:01 
GeneralRe: Reflection and array´s... Pin
leppie2-Aug-04 1:08
leppie2-Aug-04 1:08 
GeneralRe: Reflection and array´s... Pin
Norman-Timo2-Aug-04 1:30
Norman-Timo2-Aug-04 1:30 
Thanx for the very fast help, but there are compiler errors in your hint.

p.Invoke... (-> 'System.Reflection.PropertyInfo' does not contain a definition for 'Invoke')

Are there framework differences? I use framework 1.1!

But I tried somithing similar and I only got Exceptions like that:

"An unhandled exception of type 'System.Reflection.TargetException' occurred in mscorlib.dll

Additional information: Object does not match target type.
"

the Exception is trown with following lines:
FieldInfo testInfo = testType.GetField("FLATNESS");
Type fieldType = testInfo.FieldType;
PropertyInfo p = fieldType.GetProperty("Length");

int iii = (int) p.GetValue(testInvoke, null); // -> ********** Exception!

Please help me (I can´t [under]stand this thing!)

Norman-Timo


GeneralRe: Reflection and array´s... Pin
leppie2-Aug-04 4:14
leppie2-Aug-04 4:14 
GeneralRe: Reflection and array´s... Pin
Norman-Timo2-Aug-04 20:00
Norman-Timo2-Aug-04 20:00 
QuestionHow to decide Page Break insertion criteria in RTF doc? Pin
sachinkalse2-Aug-04 0:05
sachinkalse2-Aug-04 0:05 
Generalserialize an object for use by drag & drop Pin
misterbear1-Aug-04 23:15
misterbear1-Aug-04 23:15 
Questionglobal Variables?? Pin
JayJ1-Aug-04 22:37
JayJ1-Aug-04 22:37 
AnswerRe: global Variables?? Pin
El'Cachubrey1-Aug-04 23:13
El'Cachubrey1-Aug-04 23:13 
AnswerRe: global Variables?? Pin
sreejith ss nair1-Aug-04 23:18
sreejith ss nair1-Aug-04 23:18 
AnswerRe: global Variables?? Pin
ILoveCS1-Aug-04 23:22
ILoveCS1-Aug-04 23:22 
GeneralRe: global Variables?? Pin
Colin Angus Mackay1-Aug-04 23:55
Colin Angus Mackay1-Aug-04 23:55 
GeneralRe: global Variables?? Pin
misterbear2-Aug-04 0:17
misterbear2-Aug-04 0:17 
GeneralRe: global Variables?? Pin
Colin Angus Mackay2-Aug-04 0:34
Colin Angus Mackay2-Aug-04 0:34 
GeneralRESOLVED Pin
JayJ2-Aug-04 5:09
JayJ2-Aug-04 5:09 
GeneralRe: global Variables?? Pin
ILoveCS2-Aug-04 15:36
ILoveCS2-Aug-04 15:36 
GeneralRe: global Variables?? Pin
Colin Angus Mackay2-Aug-04 23:01
Colin Angus Mackay2-Aug-04 23:01 
Questionhow to "refocus" a TextBox Pin
Stephan Wright1-Aug-04 21:25
Stephan Wright1-Aug-04 21:25 
Answersolved(Re: how to "refocus" a TextBox) Pin
Stephan Wright1-Aug-04 21:42
Stephan Wright1-Aug-04 21:42 
GeneralRe: solved(Re: how to "refocus" a TextBox) Pin
exhaulted1-Aug-04 22:40
exhaulted1-Aug-04 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.