need some help with access types.

  • Thread starter Thread starter David
  • Start date Start date
D

David

Lets say you have a class named myclass and in this class
you have a sub named mysub. How would you access this sub
from within a module outside of this class named mymodule
with these access types.
public
protected
friend
protected friend
private
static
shared
shadows
readOnly
Or else try to explain these types some other way.
 
Hi David,

Did you know that on this developers website is a lot of information of this
kind of things.

http:\\msdn.microsoft.com

I hope this helps.

Cor
 
* "David said:
Lets say you have a class named myclass and in this class
you have a sub named mysub. How would you access this sub
from within a module outside of this class named mymodule
with these access types.
public
protected
friend
protected friend
private
static
shared
shadows
readOnly
Or else try to explain these types some other way.

Pass a reference to your instance of the class to the procedure and mark
the method as 'Public' or 'Friend'.
 
Back
Top