About #ctor(System.String,System.String)
Summary
Parameters
Remarks
Ancestors
History
Signature
Public Constructor XmlTestClasses.Person.#ctor(System.String,System.String)
Initialize a new Person.
Parameter | Description |
new_FirstName | The new object's FirstName property. |
new_LastName | The new object's LastName property. |
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")
XmlTestClasses
Person
#ctor(System.String,System.String)
Date | By | Description |
Missing |
Return to Index