Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleUse nested user-defined types (UDTs)
KeywordsUDT, user-defined type, nested
CategoriesSoftware Engineering
 
Create one user-defined type (UDT) that contains instances of another.
 
Private Type Employee
    EmployeeName As String
    Office As Integer
    Extension As Integer
End Type

Private Type Department
    DepartmentName As String
    Manager As Employee
    Secretary As Employee
    NumEmployees As Integer
    Employees() As Employee
End Type
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated