ArcObjects Library Reference (Catalog)  

IGxFile Interface

Provides access to members that manages a file object.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method Close Closes the file, optionally saving changes.
Method Edit Opens an editor to modify the file.
Method New Creates a new file.
Method Open Opens the file.
Read/write property Path The full path for the file.
Method Save Saves changes without closing the file.

CoClasses that implement IGxFile

CoClasses and Classes Description
GxAddIn GxObject that represents an ESRI AddIn.
GxCatalog GxObject that represents the catalog.
GxDataGraph GxObject that represents data graph.
GxDiskConnection GxObject that represents a disk connection.
GxFeatureDefinitionPackage GxObject that represents a feature definition package.
GxFile GxObject that represents a file.
GxFolder GxObject that represents a folder.
GxISCDef GxObject that represents an ISCDef (ArcGIS Image Server Compiled Service Definition document).
GxLayer GxObject that represents a layer.
GxMap GxObject that represents a map.
GxMetadata GxObject that represents an XML file.
GxMSDFile (esriCatalogUI) A MapServerDefinitionFile Dataset.
GxPackage GxObject that represents a layer or map package.
GxPrjFile GxObject that represents GxPrjFile.
GxReport GxObject that represents a report.
GxShortcut GxObject that represents a shortcut to a GxObject.
GxTextFile GxObject that represents the text file.
GxToolbox Catalog object corresponding to toolboxes.
GxWorkspaceFolder GxObject that represents a workspace folder.
SearchResults GxObject that represents the search result.
SearchResultsRoot A container for search results.

.NET Snippets

Add Layer File to ActiveView |

.NET Related Topics

How to add a layer to a map from a layer file | How to group data into separate lines on a line graph |