ArcObjects Library Reference  (DataSourcesFile)    

ArcInfoWorkspaceFactory CoClass

Workspace factory used to create workspace objects for ArcInfo coverages and Info tables.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IParseNameString (esriSystem) Provides access to members that parse Name strings.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.
IWorkspaceFactory (esriGeoDatabase) Provides access to members that create and open workspaces and supply workspace factory information.
IWorkspaceFactory2 (esriGeoDatabase) Provides access to members that create and open workspaces and supply workspace factory information.

Remarks

You create an ArcInfoWorkspaceFactory object to work with ArcInfo workspaces that have coverage and Info tables data.

After creating a new instance of the arcinfoworkspacefactory obejct use the Open or OpenfromFile method to get a Workspace object that is used to actually work with the data.

Note that the IWorkSpaceFactory::Copy and IWorkSpaceFactory::Move methods cannot be used with an ArcInfoWorkspaceFactory.

Values specific to a ArcInfoWorkspaceFactory are:

IWorkspaceFactory::WorkspaceDescription returns "ARC/INFO Workspace"

IWorkspaceFactory::WorkspaceType returns "0" or esriFileSystemWorkspace

IWorkspaceFactory::IsWorkspace returns true or false depending on whether there is an INFO subdirectory present or not

IWorkspaceFactory::ReadconnectionPropertiesFromFile returns a PropertySet object with the only property being DATABASE , which is set to the pathname.

ArcInfoWorkspaceFactory is the one and only instance of its class.

See Also

IWorkspaceFactory Interface

Example

ArcInfoWorkspaceFactory Example