Newsletter

Sign up for our free newsletter. Your email address will only be used to send out the newsletter.


RSS Feeds

Product news

Home arrow Products arrow VSdocman arrow FAQs arrow How does "Find interesting references" feature work?

How does "Find interesting references" feature work?

VSdocman looks for implemented interfaces or interface implementing classes, argument types of current method or types used inside current method.

For example, let's have the following code:

Public Interface SampleInterface
End Interface
 
Public Class SampleClass1
End Class
 
Public Class SampleClass2
    Implements SampleInterface
 
    Public Sub sampleMethod1(ByVal x As SampleClass1)
    End Sub
 
    Public Sub sampleMethod2()
        Dim tmp As SampleClass1
    End Sub
 
    Public Function sampleMethod3() As SampleClass1
    End Function
End Class
 

VSdocman finds:

  1. SampleClass2 in SampleInterface because SampleClass2 implements SampleInterface.
  2. SampleInterface in SampleClass2 for the same reason.
  3. SampleClass1 in sampleMethod1 because it is used as its argument.
  4. SampleClass1 in sampleMethod2 because it is used inside the method. It must be declared using Dim.
  5. SampleClass1 in sampleMethod3 because it is used as return value.

 
 
© Copyright 2008 Helixoft All rights reserved. | Privacy Statement