public FieldPropertyDescriptor(ITable wrappedTable, string fieldName, int fieldIndex)
: base(fieldName, null)
{
wrappedFieldIndex = fieldIndex;
// Get the field this property will represent. We will use it to
// get the field type and determine whether it can be edited or not. In
// this case, editable means the field's editable property is true and it
// is not a blob, geometry or raster field.
IField wrappedField = wrappedTable.Fields.get_Field(fieldIndex);
esriType = wrappedField.Type;
isEditable = wrappedField.Editable &&
(esriType != esriFieldType.esriFieldTypeBlob) &&
(esriType != esriFieldType.esriFieldTypeRaster) &&
(esriType != esriFieldType.esriFieldTypeGeometry);
netType = actualType = EsriFieldTypeToSystemType(wrappedField);
wkspcEdit = ((IDataset)wrappedTable).Workspace as IWorkspaceEdit;
}
#endregion Construction/Destruction