Define the scope of Public, Private, Friend procedures?
Answer / guest
The set of public variables, methods, properties, and
events described in a class module define the interface for
an object. The interface consists of the object members
that are available to a programmer who's using the object
from code.<=====>
You can create private variables, methods, properties, and
events that are used by other procedures within the class
module but are not part of the object's public interface.
Additionally, constants user-defined types, and Declare
statements within a class module must always be
private.<====>
The Friend keyword makes a procedure private to the
project: The procedure is available to any code running
within the project, but it is not available to a
referencing project.
| Is This Answer Correct ? | 6 Yes | 9 No |
What is DDE?
How many types of Instantiations are there and what are they?
What is ActiveX Control?
Why does everybody say I should save in TEXT not BINARY?
What will be the code in VB, while saving the form and light goes off? Please tell me the exact code line.
What type of record sets are available in ADO?
Is there any way to pass a variable to a form apart from using global variables?
What type of recordsets are available in ADO?
What are the different types of Dialog Box?
Can We create CGI scripts in VB?
How can you filter out specific type of file using file system controls?
Data Control missing from toolbox when I use VB under NT3.5. Why?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)