Interface IFileNames
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
Provides access to members that control an array of filenames.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F6ED3377-94F5-11D1-9AB0-080009EC734B")]
public interface IFileNames
Remarks
IFileNames offers only sequential access to the array. The file names are added to the array as full paths strings. The paths can refer to folders as well as files.
Methods
Add(string)
Adds a filename to the array.
void Add(string FileName)
Parameters
FileNamestring
IsDirectory()
Indicates if the current filename is a directory.
bool IsDirectory()
Returns
Next()
Obtains the next filename in the array.
string Next()
Returns
Remove()
Removes the current filename from the array.
void Remove()
Remarks
The Remove method cannot be called right after the Reset method. First point to an element in array by calling the Next method, and the Remove method can be used after that.
Reset()
Resets the current position back to the beginning of the array.
void Reset()