IFieldEdit Interface 接口

Description

The IFieldEdit interface is used when creating new fields. You should not use it to modify fields, for that purpose use IClassSchemaEdit. In general, when modifying fields, the restrictions that apply in ArcCatalog also apply in ArcObjects; for example, you cannot change the name or type of a field.

Members

 Description
Read-only property AliasName The alias name of the field.
Write-only property AliasName The alias name of the field.
Method CheckValue Indicates if the value is valid given the field definition.
Read-only property DefaultValue The default value of the field.
Write-only property DefaultValue The default value of the field.
Read-only property Domain The default domain of the field.
Write-only property Domain The default domain of the field.
Write-only property DomainFixed Indicates if the field's domain cannot be modified.
Read-only property DomainFixed Indicates if the field's domain is fixed.
Write-only property Editable Indicates if the field can be edited. This should always be set to true.
Read-only property Editable Indicates if the field is editable.
Read-only property GeometryDef The geometry definition for the field if IsGeometry is TRUE.
Write-only property GeometryDef The geometry definition if IsGeometry is TRUE.
Write-only property IsNullable Indicates if field values can be null.
Read-only property IsNullable Indicates if the field can contain null values.
Write-only property Length The maximum length, in bytes, for field values.
Read-only property Length The maximum length, in bytes, for values described by the field.
Read-only property Name The name of the field.
Write-only property Name The name of the field.
Read-only property Precision The precision for field values.
Write-only property Precision The precision for field values.
Read-only property Required Indicates if the field is required.
Write-only property Required Indicates if the field is required.
Read-only property Scale The scale for field values.
Write-only property Scale The scale for field values.
Write-only property Type The type for the field.
Read-only property Type The type of the field.
Read-only property VarType The VARTYPE of the field (e.g. VT_I4).

Inherited Interfaces

InterfacesDescription
IField Provides access to members that return information about the field.

 

Classes that implement IFieldEdit

ClassesDescription
Field ESRI Field object.
 
 
[C#]

When using C# (and other .NET languages) you must append an "_2" to the property you want to set on this interface. For example fieldEdit.Name_2 = "NewFieldName".

 

posted @ 2013-08-07 11:32  秋水惜朝  阅读(653)  评论(0编辑  收藏  举报