This document is archived and information here might be outdated.  Recommended version.


IFields.Field Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFields.Field Property

The field at the specified index in the fields collection.

[Visual Basic .NET]
Public Function get_Field ( _
    ByVal Index As Integer _
) As IField
[C#]
public IField get_Field (
    int Index
);
[C++]
HRESULT get_Field(
  long Index,
  IField** Field
);
[C++]

Parameters Index [in]
Index is a parameter of type long Field [out, retval]
Field is a parameter of type IField**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IFields Interface

.NET Snippets

Create FeatureClass | Write Blob Field Contents To File | Write Blob File Contents To Table Row Field

.NET Samples

Convert part to feature command (Code Files: ConvertPart) | Curve conversion add-in (Code Files: CurveConversionDockWin) | ViperPin tool (Code Files: ViperPinForm) | StreetMap routing (Code Files: RoutingForm) | Timestamper class extension (Code Files: TimestampClassExtension) | Single line address geocoding (Code Files: SingleLineGeocodingForm) | Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm)

.NET Related Topics

Assigning domains to fields | Converting simple data | Copying or loading data while preserving GlobalID values | Creating a plug-in data source | Creating an address locator | Creating annotation and dimension feature classes | Creating class extensions | Creating feature classes | Creating fields | Creating indexes | How to geocode a single address | How to geocode a table of addresses | How to standardize an address | Working with fields | Working with indexes