Represents a boat.

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

Syntax

C#
[SerializableAttribute]
public class Boat : SerializableBase
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class Boat _
	Inherits SerializableBase
Visual C++
[SerializableAttribute]
public ref class Boat : public SerializableBase

Remarks

This class represents a boat.

Examples

The following example creates an instance of the Boat class and sets properties that are applicable to a boat item in the TowStatus.Boats collection property.
CopyVisual Basic
' Create a new BargeEx Boat object
Dim Boat As New BargeEx.Boat()

' Update the Boat's properties
With Boat

    .Name = "Bill M."

    ' Set Size properties
    .Length = 250
    .Width = 55
    .HullDepth = 9

    ' Set Tow Position properties
    .TowString = 0
    .TowCut = 0

End With ' Boat
CopyC#
// Create a new BargeEx Boat object
BargeEx.Boat Boat = new BargeEx.Boat();

// Update the Boat's properties
Boat.Name = "Bill M.";

// Set Size properties
Boat.Length = 250;
Boat.Width = 55;
Boat.HullDepth = 9;

// Set Tow Position properties
Boat.TowString = 0;
Boat.TowCut = 0;

Inheritance Hierarchy

See Also