Initializes a new instance of the Boat class with the specified name.

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

Syntax

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

Parameters

name
Type: System..::.String
The name of the boat.

Remarks

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

See Also