This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureLayer2 Interface > IFeatureLayer2.DataSourceType Property (ArcObjects .NET 10.4 SDK) |
Data source type.
[Visual Basic .NET] Public Property DataSourceType As String
[C#] public string DataSourceType {get; set;}
[C++]
HRESULT get_DataSourceType(
BSTR* Text
);
[C++]
HRESULT put_DataSourceType(
BSTR Text
);
[C++]
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" |
ArcGIS for Desktop Advanced or PC ArcInfo Coverage (annotation) | "Annotation Feature Class" |
ArcGIS for Desktop Advanced or PC ArcInfo Coverage (point) | "Point Feature Class" |
ArcGIS for Desktop Advanced or PC ArcInfo Coverage (line) | "Arc Feature Class" |
ArcGIS for Desktop Advanced 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" |