Resumen
The Describe function returns a dictionary with multiple properties, such as data type, fields, indexes, and many others. The dictionary's keys are dynamic, meaning that depending on what data type is described, different properties will be available for use.
Describe keys are organized into a series of property groups. Any particular dataset will acquire the properties of at least one of these groups. For instance, if describing a geodatabase feature class, you could access properties from the GDB FeatureClass, FeatureClass, Table, and Dataset property groups. All data, regardless of the data type, will always acquire the generic Describe properties.
Debate
Many data types include properties from other property groups. For instance, if describing a geodatabase feature class, you could access properties from the GDB FeatureClass, FeatureClass, Table, and Dataset property groups.
- Describe Object properties
- ArcInfo Workstation Item properties
- ArcInfo Workstation Table properties
- CAD Drawing Dataset properties
- CAD FeatureClass properties
- Coverage FeatureClass properties
- Coverage properties
- Dataset properties
- dBASE Table properties
- Editor Tracking properties
- FeatureClass properties
- File properties
- Folder properties
- GDB FeatureClass properties
- GDB Table properties
- Geometric Network properties
- Geostatistical Layer properties
- LAS Dataset properties
- Layer properties
- Map Document properties
- Mosaic Dataset properties
- Prj File properties
- Raster Band properties
- Raster Catalog properties
- Raster Dataset properties
- RecordSet and FeatureSet properties
- RelationshipClass properties
- RepresentationClass properties
- Schematic Dataset properties
- Schematic Diagram properties
- Schematic Folder properties
- SDC FeatureClass properties
- Shapefile FeatureClass properties
- Table properties
- TableView properties
- Text File properties
- Tin properties
- Tool properties
- Toolbox properties
- Topology properties
- VPF Coverage properties
- VPF FeatureClass properties
- VPF Table properties
- Workspace properties
Sintaxis
Describe (value, {datatype})
Parámetro | Explicación | Tipo de datos |
value | The specified data element or geoprocessing object to describe. | String |
datatype | The type of data. This is only necessary when naming conflicts exists, for example, if a geodatabase contains a feature dataset (FeatureDataset) and a feature class (FeatureClass) with the same name. In this case, the data type is used to clarify which dataset you want to describe. (El valor predeterminado es None) | String |
Tipo de datos | Explicación |
Dictionary | Returns a dictionary with keys detailing the data element described. |