Namespace Statement


Namespace Statement

Syntax

     Namespace name        component types     End Namespace 


name (required)

The name of the namespace, either a single namespace component or a hierarchy section of namespaces, as in SomeCompany.SomeApplication


component types (required)

The elements that are being declared as part of the namespace, including enumerations, structures, interfaces, classes, delegates, modules, and other nested namespaces

Description

The Namespace statement declares a namespace and specifies the items in the namespace.

Usage at a Glance

  • Namespaces are used in the .NET Framework as an organized method of exposing program components to other programs and applications.

  • Namespaces are always Public, although types defined within a namespace can have varying levels of declared access.




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net