![]() |
This document is archived and information here might be outdated. Recommended version. |
File Name Object.
Along with all the other Name objects (see esriGeodatabase in particular), the FileName object provides an identity for some data without it necessarily having to exist. A file name identifies and locates a file in a directory structure.
Interfaces | Description |
---|---|
IFileName | Provides access to the pathnames of files. |
IName | Provides access to members that work with Name objects. |
IPersistStream |
With FileName, the IName::Open method does not function properly, so you need to use whatever programmatic file-access technique is appropriate from your development environment standpoint.
FileName is useful with interfaces that take generic Name objects and perform actions. An example is ILayerFactoryHelper, which is often used with the MapControl to manage drag-and-drop operations.