Use a Function procedure when you want to return a value. Use a Sub procedure when you don't want to return a value to the calling code. Terminates the definition of this procedure.Īll executable code must be inside a procedure. Block of statements to run within this procedure. Name of the event this procedure handles. Object variable declared with the data type of the class or structure that raises the event. List of events this procedure handles.Įach eventspecifier has the following syntax and parts: Indicates that this procedure can handle one or more specific events. Name by which the procedure is defined in interface. Name of an interface implemented by this procedure's containing class or structure. Implementedprocedure Įach implementedprocedure has the following syntax and parts: List of Sub procedures being implemented. Indicates that this procedure implements one or more Sub procedures, each one defined in an interface implemented by this procedure's containing class or structure. List of local variable names representing the parameters of this procedure. List of type parameters for a generic procedure. For more information, see Object Lifetime: How Objects Are Created and Destroyed. To create a constructor procedure for a class, set the name of a Sub procedure to the New keyword. Indicates definition of a partial method. Declares the name, parameters, and code that define a Sub procedure.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |