Interface IFileNames2
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
Provides access to retrieve subsets based on extension.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("1F1197E3-B3BB-4D9C-B530-923E39EFCE11")]
public interface IFileNames2
Methods
Find(string)
Advances the current postion to the specified file if it exists.
bool Find(string FileName)
Parameters
FileNamestring
Returns
Remarks
If the array contains a file name which is a directory path, the Find method returns False (not found) if the directory path was passed to be searched. The Find method searches only for files.
GetContainedExtensions()
Obtains a delimited set of extensions contained within the collection.
string GetContainedExtensions()
Returns
GetSubset(string)
Obtains a subset based on a delimited set of extensions.
IFileNames GetSubset(string extSet)
Parameters
extSetstring
Returns
LoadFromPath(string)
Loads the collection with files from the specified path.
void LoadFromPath(string Path)
Parameters
Pathstring