This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IField Interface > IField.VarType Property (ArcObjects .NET 10.5 SDK) |
The VARTYPE of the field (e.g. VT_I4).
[Visual Basic .NET] Public ReadOnly Property VarType As Integer
[C#] public int VarType {get;}
[C++]
HRESULT get_VarType(
long* VarType
);
[C++]
Parameters VarType [out, retval] VarType is a parameter of type long
Returns an Integer indicating the subtype of a variable.
Field type | VarType |
---|---|
esriFieldTypeSmallInteger esriFieldTypeInteger esriFieldTypeSingle esriFieldTypeDouble esriFieldTypeString esriFieldTypeDate esriFieldTypeOID esriFieldTypeGeometry esriFieldTypeBlob esriFieldTypeRaster esriFieldTypeGUID esriFieldTypeGlobalID |
2 3 4 5 8 7 3 13 13 13 8 8 |