This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainDataImporter Interface > ITerrainDataImporter.AddFolder Method (ArcObjects .NET 10.5 SDK) |
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 VARIANT_BOOL
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.