ArcObjects Library Reference (GeoDatabaseExtensions)  

ILasDatasetEdit.AddFolder Method

Adds all the files in the specified a folder, and potentially subfolders, to the dataset.

[Visual Basic .NET]
Public Sub AddFolder ( _
    ByVal folderName As String, _
    ByVal fileExtension As String, _
    ByVal bRecursive As Boolean, _
    ByRef ppBadFiles As IStringArray _
)
[C#]
public void AddFolder (
    string folderName,
    string fileExtension,
    bool bRecursive,
    ref IStringArray ppBadFiles
);
[C++]
HRESULT AddFolder(
  BSTR folderName,
  BSTR fileExtension,
  VARIANT_BOOL bRecursive,
  IStringArray** ppBadFiles
);
[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 ppBadFiles [out]

  ppBadFiles is a parameter of type IStringArray

Product Availability

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

See Also

ILasDatasetEdit Interface