Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
ShapeFileWriter..::.AddRecord Method (Collection<(Of <(array<Double>[]()[]>)>), array<String>[]()[])
ShapeFileWriter Class See Also Send Feedback

abstract method used to add a new record to the shapefile

Namespace: EGIS.ShapeFileLib
Assembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

# Syntax

Visual Basic (Declaration)
    Public MustOverride Sub AddRecord ( _
    	parts As Collection(Of Double()), _
    	fieldData As String() _
    )

C#
    public abstract void AddRecord(
    	Collection<double[]> parts,
    	string[] fieldData
    )

Visual C++
    public:
    virtual void AddRecord(
    	Collection<array<double>^>^ parts,
    	array<String^>^ fieldData
    ) abstract

#### Parameters

parts
  Type: System.Collections.ObjectModel..::.Collection<(Of <(array< Double >[]()[]>)>)
  collection of double arrays containing the individual points of each part in the shape record.

fieldData
  Type: array< System..::.String >[]()[]
  fieldData string values of the data associated with the shape record (which is stored in the dbf file)

# Remarks

Implementing subclasses override this method to write the appropriate data depending on the ShapeType being used.

# See Also

ShapeFileWriter Class
AddRecord Overload
EGIS.ShapeFileLib Namespace