Find the location of class from declare

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

e.g
dim x as new NewClass()
can i find where is the newclass() location?
 
If you're using Visual Studio, I think you can right click your method
call and select "Go to definition" but it's been a while.
 
And to do so programatically, the best you can hope for is:

dim x as new NewClass()
dim type as Type = x.GetType();

t.Assembly.FullName
and
t.FullName

which'll give you the assembly and the namespace

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Class Instances 15
changing css class on linkbutton 3
Creating a new instance 2
Programming with classes 2
Can I Do This 8
New form opens with no fields 2
Deserializing a class 1
Inherting classes 4

Back
Top