When To Use
Members
All Properties Methods |
Description | |
---|---|---|
ContainsWorkspace | Indicates if parentDirectory contains a valid workspace, or is a valid file-system workspace. | |
Copy | Copies a workspace to the specified destination folder. | |
Create | Creates a new workspace specified by the directory, file name, and connection properties. | |
GetClassID | The class ID of the WorkspaceFactory. | |
GetWorkspaceName | Retrieves the workspace name of a workspace from the given list of file names. | |
IsWorkspace | True if the specified file identifies a workspace supported by the workspace factory. | |
Move | Moves a workspace to the specified destination folder. | |
Open | Opens the workspace specified by the connection properties. | |
OpenFromFile | Opens the workspace specified by the given file name. | |
ReadConnectionPropertiesFromFile | The connection properties from the specified file. | |
WorkspaceDescription | A singular or plural description of the type of workspace the workspace factory opens/creates. | |
WorkspaceType | The type of workspace the workspace factory opens/creates. |
Classes that implement IWorkspaceFactory
Remarks
A WorkspaceFactory is a dispenser of workspaces and allows a client to connect to a workspace specified by a set of connection properties. A workspace represents a database or a datasource that contains one or more datasets. Examples of datasets include tables, feature classes and relationship classes. A WorkspaceFactory is a cocreatable, singleton object. Connection properties are specified using a PropertySet object and can be saved to a connection file. A WorkspaceFactory also supports methods that can be used to browse and manage file system workspaces, and methods to manage connection files for remote database workspaces.
.NET Snippets
Open Raster File As GeoDatset | Set Data Source | Get FeatureClass From Shapefile On Disk | Add Shapefile Using OpenFileDialog | Create Grid From Feature Class | Add Tracking Layer To Map |