G Guest Nov 7, 2006 #1 How can you find out if a class is inherited from a certain other class? Is there another way than using .BaseType several times?
How can you find out if a class is inherited from a certain other class? Is there another way than using .BaseType several times?
M Marc Gravell Nov 7, 2006 #2 Joachim said: How can you find out if a class is inherited from a certain other class? Is there another way than using .BaseType several times? Click to expand...
Joachim said: How can you find out if a class is inherited from a certain other class? Is there another way than using .BaseType several times? Click to expand...
D Dustin Campbell Nov 7, 2006 #4 How can you find out if a class is inherited from a certain other class? Is there another way than using .BaseType several times? Click to expand... Use the System.Type.IsSubclassOf method. Best Regards, Dustin Campbell Developer Express Inc.
How can you find out if a class is inherited from a certain other class? Is there another way than using .BaseType several times? Click to expand... Use the System.Type.IsSubclassOf method. Best Regards, Dustin Campbell Developer Express Inc.
G Guest Nov 8, 2006 #5 Joachim said: How can you find out if a class is inherited from a certain other class? Is there another way than using .BaseType several times? Click to expand... Others have answered the question you asked. But you are really looking for: if(someobject is SomeClass) Arne
Joachim said: How can you find out if a class is inherited from a certain other class? Is there another way than using .BaseType several times? Click to expand... Others have answered the question you asked. But you are really looking for: if(someobject is SomeClass) Arne