Data source type.
[Visual Basic 6.0] Property DataSourceType As String
[Visual Basic .NET] Public Property DataSourceType As String
[C#] public string DataSourceType {get; set;}
[Java] public String getDataSourceType() throws IOException, AutomationException
[Java] public void setDataSourceType( String DataSourceType ) throws IOException, AutomationException
[C++]
HRESULT get_DataSourceType(
BSTR* Text
);
[C++] HRESULT put_DataSourceType( BSTR Text);
Parameters
Text [out, retval]
Text is a parameter of type BSTR
Text [in]
Text is a parameter of type BSTR
Describes the type of data referenced by the feature layer. In ArcMap and ArcCatalog this description appears on the layer's properties dialog on the Source tab after "Data Type:"
Here is a list of default values for DataSourceType for common feature layer types:
| Layer Type | Value |
|---|---|
| Personal Geodatabase | "Personal Geodatabase Feature Class" |
| SDE | "SDE Feature Class" |
| Shapefile | "Shapefile Feature Class" |
| ArcInfo or PC ArcInfo Coverage (annotation) | "Annotation Feature Class" |
| ArcInfo or PC ArcInfo Coverage (point) | "Point Feature Class" |
| ArcInfo or PC ArcInfo Coverage (line) | "Arc Feature Class" |
| ArcInfo or PC ArcInfo Coverage (polygon) | "Polygon Feature Class" |
| Edge | "StreetMap Feature Class" |
| CAD (annotation) | "CAD Annotation Feature Class" |
| CAD (point) | "CAD Point Feature Class" |
| CAD (line) | "CAD Polyline Feature Class" |
| CAD (polygon) | "CAD Polygon Feature Class" |