Interface IFieldEdit
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that edit the field properties.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("300AA631-B207-11D0-BECA-00805F7C4268")]
public interface IFieldEdit : IField
Properties
AliasName
string AliasName { get; }
Property Value
Remarks
This is only supported on fields from object classes and feature classes that are registered with a personal, File or ArcSDE geodatabase.
This is not supported for shapefiles, coverages, or other data sources.
You can register a table within the geodatabase to become an object class by right-clicking on the table in ArcCatalog and clicking on "Register with Geodatabase".
AliasName_2
The alias name of the field.
string AliasName_2 { set; }
Property Value
DefaultValue
object DefaultValue { get; }
Property Value
DefaultValue_2
The default value of the field.
object DefaultValue_2 { set; }
Property Value
Domain
IDomain Domain { get; }
Property Value
DomainFixed
bool DomainFixed { get; }
Property Value
DomainFixed_2
Indicates if the field's domain cannot be modified.
bool DomainFixed_2 { set; }
Property Value
Domain_2
The default domain of the field.
IDomain Domain_2 { set; }
Property Value
Editable
bool Editable { get; }
Property Value
Editable_2
Indicates if the field can be edited. This should always be set to true.
bool Editable_2 { set; }
Property Value
GeometryDef
IGeometryDef GeometryDef { get; }
Property Value
GeometryDef_2
The geometry definition if IsGeometry is TRUE.
IGeometryDef GeometryDef_2 { set; }
Property Value
Remarks
<P>The <STRONG>GeometryDef</STRONG> object defines the spatial qualities of a feature class. The most fundmental spatial quality is the Geometry type, for example, point, line, and polygon. Other information necessary to define the feature class includes the spatial referencing system, whether the vertices have height or measure data, and, for geodatabases, the spatial index parameters.</P> <P>The <STRONG>GeometryDef </STRONG>can be accessed from a shape field, that is a field of type <STRONG>esriFieldTypeGeometry</STRONG>. The actual geometry type is defined by the <STRONG>esriGeometryType </STRONG>enumeration, though currently only four values are acceptable with respect to <STRONG>GeometryDef </STRONG>objects: <STRONG>esriGeometryPoint</STRONG>, <STRONG>esriGeometryMultipoint</STRONG>, <STRONG>esriGeometryPolyline</STRONG>, and <STRONG>esriGeometryPolygon</STRONG>.</P> <P>Beware of the confusion between the <STRONG>esriGeometryType</STRONG> enumeration and the similarly named <STRONG>esriFeatureType</STRONG> and <STRONG>esriShapeType</STRONG>. The following table shows the different roles of those enumerations.</P> <DIV class=tablediv> <TABLE class=dtTABLE cellSpacing=0> <TBODY> <TR vAlign=top> <TH class=t width="33%">ArcObjects Enumeration</TH> <TH class=t width="33%">Values</TH> <TH class=t width="33%">Interfaces that use the enumeration</TH></TR> <TR vAlign=top> <TD width="33%"><STRONG>esriGeometryType</STRONG><BR><BR>Type of geometry in a geodatabase. Those in bold are valid for feature classes, others are component geometry objects.</TD> <TD class=t width="33%"><STRONG>esriGeometryPoint<BR>esriGeometryMultipoint<BR>esriGeometryPolygon<BR>esriGeometryPolyline<BR>esriGeometryLine</STRONG><BR>esriGeometryCircularArc<BR>esriGeometryEllipticArc<BR>esriGeometryBezier3Curve<BR>esriGeometryPath<BR>esriGeometryNull<BR>esriGeometryRing<BR>esriGeometryEnvelope<BR>esriGeometryAny<BR>esriGeometryBag<BR>esriGeometryMultiPatch<BR>esriGeometryTriangleStrip<BR>esriGeometryTriangleFan<BR>esriGeometryRay<BR>esriGeometrySphere<BR>esriGeometryTriangles<BR></TD> <TD width="33%">IFeatureClass::ShapeType<BR>IGeometry::GeometryType<BR>IGeometryDef::GeometryType<BR><BR>also<BR>IGeometryDefEdit,<BR>IGeometryFactory,<BR>IEditSketchExtension,<BR>IGridConversionOp,<BR>IDimensionConstructor</TD></TR> <TR vAlign=top> <TD width="33%"><STRONG>esriFeatureType</STRONG><BR><BR>Feature types defined by<BR>feature class extensions</TD> <TD class=t width="33%">esriFTSimple<BR>esriFTSimpleJunction<BR>esriFTSimpleEdge<BR>esriFTComplexJunction<BR>esriFTComplexEdge<BR>esriFTAnnotation<BR>esriFTCoverageAnnotation<BR>esriFTDimension<BR>esriFTRasterCatalogItem<BR></TD> <TD width="33%">IFeature::FeatureType<BR>IFeatureClass::FeatureType<BR>IFeatureClassDescription::FeatureType<BR>IFeatureWorkspace::CreateFeatureClass<BR>IFeatureDataset::CreateFeatureClass<BR><BR>also, IGeometricNetwork and<BR>INetworkLoader</TD></TR> <TR vAlign=top> <TD width="33%"><STRONG>esriShapeType</STRONG><BR><BR>Type of geometry in a<BR>shapefile</TD> <TD class=t width="33%">See the help for esriShapeType<BR>for a full list </TD> <TD width="33%">IFeature::FeatureType<BR>IFeatureClass::FeatureType<BR>IFeatureClassDescription::FeatureType<BR>IFeatureWorkspace::CreateFeatureClass<BR>IFeatureDataset::CreateFeatureClass<BR><BR>also, IGeometricNetwork and<BR>INetworkLoader</TD></TR></TBODY></TABLE></DIV>
IsNullable
bool IsNullable { get; }
Property Value
IsNullable_2
Indicates if field values can be null.
bool IsNullable_2 { set; }
Property Value
Length
int Length { get; }
Property Value
Length_2
The maximum length, in bytes, for field values.
int Length_2 { set; }
Property Value
Name
string Name { get; }
Property Value
Name_2
The name of the field.
string Name_2 { set; }
Property Value
Precision
int Precision { get; }
Property Value
Remarks
Precision is always returned as 0 from personal or File geodatabase fields.
Precision_2
The precision for field values.
int Precision_2 { set; }
Property Value
RasterDef
IRasterDef RasterDef { get; }
Property Value
RasterDef_2
The raster column definition.
IRasterDef RasterDef_2 { set; }
Property Value
Remarks
<P>The <STRONG>RasterDef</STRONG> object specifies the property of a raster column, such as description of the column, spatial reference, and for Personal and File geodatabases, whether the Raster field is managed by the geodatabase.</P>
Required
bool Required { get; }
Property Value
Required_2
Indicates if the field is required.
bool Required_2 { set; }
Property Value
Scale
int Scale { get; }
Property Value
Remarks
Precision is always returned as 0 from personal or File geodatabase fields.
Scale_2
The scale for field values.
int Scale_2 { set; }
Property Value
Type
esriFieldType Type { get; }
Property Value
Type_2
The type for the field.
esriFieldType Type_2 { set; }
Property Value
VarType
int VarType { get; }
Property Value
Methods
CheckValue(object)
bool CheckValue(object Value)
Parameters
Valueobject