About #ctor(System.String,System.String)

Summary Parameters Remarks Ancestors History

Signature

Public Constructor XmlTestClasses.Person.#ctor(System.String,System.String)

Summary

Initialize a new Person.

Parameters

ParameterDescription
new_FirstNameThe new object's FirstName property.
new_LastNameThe new object's LastName property.

Remarks

Use this constructor to create and initialize the object in one step.

Here's the verbose way:

     Dim person1 As New Person()
     person1.FirstName = "Eileen"
     person1.LastName = "Leet"
Here's the concise method:
     Dim person1 As New Person("Eileen", "Leet")

Ancestors

XmlTestClasses
    Person
        #ctor(System.String,System.String)

History

DateByDescription
Missing


Return to Index