combit List & Label 24 - .NET Online Web Help
ImportShapefile Method


combit.ListLabel24.Repository Namespace > RepositoryImportUtil Class : ImportShapefile Method

The List & Label instance that the repository is assigned to.

The local path of the .shp file (Shapefile) to import.

The local path of the .dbf file (Shapefile database) to import.

Optional. A custom string which will be passed back in the CreateOrUpdateItem call.

Imports a shapefile (.shp/.dbf files) to the repository and returns the IDs of the created repository items (Item1: .shp File, Item2: .dbf File). Once the file is ready and the metadata objects are prepared, internally the repository's CreateOrUpdateItem method is called to store it into the repository.

Syntax
'Declaration
 
Public Function ImportShapefile( _
   ByVal ll As ListLabel, _
   ByVal shpFilePath As String, _
   ByVal dbfFilePath As String, _
   Optional ByVal userImportData As String _
) As Tuple(Of String,String)

Parameters

ll

The List & Label instance that the repository is assigned to.

shpFilePath

The local path of the .shp file (Shapefile) to import.

dbfFilePath

The local path of the .dbf file (Shapefile database) to import.

userImportData

Optional. A custom string which will be passed back in the CreateOrUpdateItem call.

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

RepositoryImportUtil Class
RepositoryImportUtil Members