Class FileNamesClass

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll
[Guid("A3DCEA3A-EBD5-11D4-A656-0008C711C8C1")]
[ClassInterface(ClassInterfaceType.None)]
public class FileNamesClass : FileNames, IFileNames, IFileNames2
Inheritance
FileNamesClass
Implements
Inherited Members

Constructors

FileNamesClass()

public FileNamesClass()

Explicit Interface Implementations

Add(string)

Adds a filename to the array.

virtual void Add(string FileName)

Parameters

FileName string

Find(string)

Advances the current postion to the specified file if it exists.

virtual bool Find(string FileName)

Parameters

FileName string

Returns

bool

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.

virtual string GetContainedExtensions()

Returns

string

GetSubset(string)

Obtains a subset based on a delimited set of extensions.

virtual IFileNames GetSubset(string extSet)

Parameters

extSet string

Returns

IFileNames

IsDirectory()

Indicates if the current filename is a directory.

virtual bool IsDirectory()

Returns

bool

LoadFromPath(string)

Loads the collection with files from the specified path.

virtual void LoadFromPath(string Path)

Parameters

Path string

Next()

Obtains the next filename in the array.

virtual string Next()

Returns

string

Remove()

Removes the current filename from the array.

virtual 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.

virtual void Reset()