Initializes a new instance of the
Barge class with the
specified barge name and Coast Guard Vessel Identification
Number (VIN).
Namespace:
BargeExAssembly: BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)
Syntax
C# |
---|
public Barge( string name, string coastGuardNumber ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ name As String, _ coastGuardNumber As String _ ) |
Visual C++ |
---|
public: Barge( String^ name, String^ coastGuardNumber ) |
Parameters
- name
- Type: System..::.String
The name of the barge.
- coastGuardNumber
- Type: System..::.String
The Coast Guard Vessel Identification Number (VIN) of the barge.
Remarks
The constructor initializes a
Barge
object with the Name
property set to
name and the
CoastGuardNumber
property set to
coastGuardNumber.