logo       

A little different question.: msg#00337

text.xml.soap.user

Subject: A little different question.

A little different question.
Anyone knows how to extract class and public member names from an object.
e.g. If I have a class called
myclass{
public int mymem;
}
In a method where this object is passed in, is there a way to find out the
class name and method name from the instance of the class.
e.g. public void foo(myclass o)
{
o.somemethod() should return myclass;
o.someothermethod should return mymem;
}

Thanks,

Indrasish.








<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise