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
DbfWriter..::.Close Method
DbfWriter Class See Also Send Feedback

Closes the DBF file and the underlying stream used to write the DBF file

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

# Syntax

Visual Basic (Declaration)
    Public Sub Close

C#
    public void Close()

Visual C++
    public:
    void Close()

# Remarks

The Close method must be called after all records have been added. This method will update the number of records in the file's main header and outputs the end of file marker to the end of the file.

Failure to call this method will result in an invalid DBF file being generated

# See Also

DbfWriter Class
EGIS.ShapeFileLib Namespace