You just put parameters into the New method and then set those parameters equal to the values.

So, say your student has properties called FirstName, LastName and Grade and you want to populate those when you create the object.

The syntax would be like:

vb Code:
  1. Public Class Student
  2.  
  3.     private _firstName as String
  4.     private _lastName as String
  5.     private _grade as Integer
  6.  
  7.     Public Sub New(pFName as String, pLName as String, pGrade as String)
  8.  
  9.         _firstName = pFName
  10.         _lastName = pLName
  11.         _grade = pGrade
  12.     End Sub
  13.  
  14.     Public Property FirstName as String
  15.         Get
  16.             Return _firstName
  17.         End Get
  18.         Set (value as String)
  19.             _firstName = value
  20.         End Set
  21.     End Property
  22.  
  23.     Public Property LastName as String
  24.         Get
  25.             Return _lastName
  26.         End Get
  27.         Set (value as String)
  28.             _lastName = value
  29.         End Set
  30.     End Property
  31.  
  32.     Public Property Grade as Integer
  33.         Get
  34.             Return _grade
  35.         End Get
  36.         Set (value as Integer)
  37.             _grade= value
  38.         End Set
  39.     End Property
  40.  
  41. End Class

Then to create it, you'd do:

vb Code:
  1. Dim s as New Student("Bob", "Jones", 75)