Name Object Factory.
A NameFactory object identifies and locates a geodatabase object such as a dataset or a workspace, or a map object such as a layer. You can implement your own custom drag-and-drop behavior for these objects on your controls and forms.
ESRI applications such as ArcMap and ArcCatalog may be either the drop source or the target for your custom drag-and-drop behavior. You cannot, however, change the standard drag-and-drop behavior of the windows inside ArcMap and ArcCatalog, though of course you can add your own custom windows and controls to the applications.
When implementing a drop source for ESRI data objects, use INameFactory::PackageNames to wrap up the objects chosen. When implementing the drop target, use UnPackageNames followed by whatever action you would like to do with the name objects.
Windows, Solaris, Linux
|INameFactory||Provides access to members that work with the Name factory.|
The DataObjectHelper (defined in esriSystemUI) performs a similar job to that of a NameFactory except it also supports file names as Name objects. It is used by the MapControl and PageLayoutControl to support drag-and-drop functionality.