Click here to Skip to main content
15,900,973 members
Home / Discussions / C#
   

C#

 
GeneralHelp with checking if numeric Pin
Tom Dziedzic8-Aug-04 7:22
Tom Dziedzic8-Aug-04 7:22 
GeneralRe: Help with checking if numeric Pin
DougW488-Aug-04 8:47
DougW488-Aug-04 8:47 
GeneralRe: Help with checking if numeric Pin
Christian Graus8-Aug-04 10:37
protectorChristian Graus8-Aug-04 10:37 
GeneralRe: Help with checking if numeric Pin
climacs9-Aug-04 16:52
sussclimacs9-Aug-04 16:52 
GeneralCOMException verifying signatures with CAPICOM in a webService Pin
Escroto8-Aug-04 6:55
Escroto8-Aug-04 6:55 
GeneralUsing Reflection to walk the Object Model Pin
Tony Antonucci8-Aug-04 6:16
Tony Antonucci8-Aug-04 6:16 
GeneralRe: Using Reflection to walk the Object Model Pin
Nick Parker8-Aug-04 6:24
protectorNick Parker8-Aug-04 6:24 
GeneralRe: Using Reflection to walk the Object Model Pin
Tony Antonucci8-Aug-04 6:43
Tony Antonucci8-Aug-04 6:43 
I would like to do this in the same code (not from an assembly). I certainly can use FieldInfo to see the root objects fields and data, but then I need to move into the contained object. Thats where I am stuck.

Type t = o.GetType();
FieldInfo[] fi = t.GetFields();
foreach (FieldInfo field in fi)
{
Console.WriteLine("Field: {0}\tType: {1}", field.Name, field.FieldType);
}

But, now....how to reflect into the "fields"?

Tony
GeneralRe: Using Reflection to walk the Object Model Pin
leppie8-Aug-04 9:37
leppie8-Aug-04 9:37 
GeneralRe: Using Reflection to walk the Object Model Pin
Anonymous8-Aug-04 10:55
Anonymous8-Aug-04 10:55 
GeneralRe: Using Reflection to walk the Object Model Pin
leppie8-Aug-04 11:48
leppie8-Aug-04 11:48 
QuestionSetting Property Classification - Attributes? Pin
Tristan Rhodes8-Aug-04 3:22
Tristan Rhodes8-Aug-04 3:22 
AnswerRe: Setting Property Classification - Attributes? Pin
leppie8-Aug-04 4:28
leppie8-Aug-04 4:28 
GeneralManaged Direct3D won't work Pin
NhImF8-Aug-04 2:53
NhImF8-Aug-04 2:53 
GeneralRe: Managed Direct3D won't work Pin
leppie8-Aug-04 4:30
leppie8-Aug-04 4:30 
GeneralRe: Managed Direct3D won't work Pin
NhImF8-Aug-04 5:00
NhImF8-Aug-04 5:00 
GeneralRe: Managed Direct3D won't work Pin
leppie8-Aug-04 5:25
leppie8-Aug-04 5:25 
GeneralRe: Managed Direct3D won't work Pin
Alex Korchemniy8-Aug-04 11:50
Alex Korchemniy8-Aug-04 11:50 
GeneralSaving Time from a DataGrid Pin
CarpyDog8-Aug-04 1:41
CarpyDog8-Aug-04 1:41 
GeneralLocation is not a variable Pin
Anonymous7-Aug-04 23:16
Anonymous7-Aug-04 23:16 
GeneralRe: Location is not a variable Pin
leppie7-Aug-04 23:33
leppie7-Aug-04 23:33 
GeneralRe: Location is not a variable Pin
Anonymous8-Aug-04 0:44
Anonymous8-Aug-04 0:44 
GeneralRe: Location is not a variable Pin
leppie8-Aug-04 1:36
leppie8-Aug-04 1:36 
Generalfiltered error Pin
Member 11412667-Aug-04 21:21
Member 11412667-Aug-04 21:21 
GeneralRe: filtered error Pin
leppie7-Aug-04 23:02
leppie7-Aug-04 23:02 

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.