This document is archived and information here might be outdated.  Recommended version.


ITerrainDataImporter.AddFolder Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ITerrainDataImporter.AddFolder Method

Include a folder, and potentially subfolders, to be loaded upon import.

[Visual Basic .NET]
Public Sub AddFolder ( _
    ByVal folderName As String, _
    ByVal fileExtension As String, _
    ByVal bRecursive As Boolean _
)
[C#]
public void AddFolder (
    string folderName,
    string fileExtension,
    bool bRecursive
);
[C++]
HRESULT AddFolder(
  BSTR folderName,
  BSTR fileExtension,
  VARIANT_BOOL bRecursive
);
[C++]

Parameters folderName [in]
folderName is a parameter of type BSTR fileExtension [in]
fileExtension is a parameter of type BSTR bRecursive [in]
bRecursive is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The importer supports the input of one or more folders worth of files at a time. You can call AddFolder repeatedly. Call SetEmpty to clear this list.

fileExtension is the suffix of the file(s), excluding the dot ('.'). Only files with this suffix in the selected folder(s) will be read.

bRecursive is a boolean to indicate whether or not to recurse below the specified folders into their subfolders to look for more files.

See Also

ITerrainDataImporter Interface