ArcDataBinding.FieldPropertyDescriptor.FieldPropertyDescriptor C# (CSharp) Метод

FieldPropertyDescriptor() публичный Метод

Initializes a new instance of the FieldPropertyDescriptor class.
public FieldPropertyDescriptor ( ITable wrappedTable, string fieldName, int fieldIndex ) : System
wrappedTable ITable The wrapped table.
fieldName string Name of the field within wrappedTable.
fieldIndex int Index of the field within wrappedTable.
Результат System
    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