Initializes a new instance of the Boat class with the specified boat name and Coast Guard Vessel Identification Number (VIN).

Namespace:  BargeEx
Assembly:  BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)

Syntax

C#
public Boat(
	string name,
	string coastGuardNumber
)
Visual Basic (Declaration)
Public Sub New ( _
	name As String, _
	coastGuardNumber As String _
)
Visual C++
public:
Boat(
	String^ name, 
	String^ coastGuardNumber
)

Parameters

name
Type: System..::.String
The name of the boat.
coastGuardNumber
Type: System..::.String
The Coast Guard Vessel Identification Number (VIN) of the boat.

Remarks

The constructor initializes a Boat object with the Name property set to name and the CoastGuardNumber property set to coastGuardNumber.

See Also