This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IF > IFileNames2 Interface > IFileNames2.LoadFromPath Method (ArcObjects .NET 10.5 SDK) |
Loads the collection with files from the specified path.
[Visual Basic .NET] Public Sub LoadFromPath ( _ ByVal Path As String _ )
[C#] public void LoadFromPath ( string Path );
[C++]
HRESULT LoadFromPath(
BSTR Path
);
[C++]
Parameters Path [in] Path is a parameter of type BSTR
The LoadFromPath method adds any file names to the array (both directories and files) that are found in the specified directory path.