ArcObjects Library Reference (GeoAnalyst)  

IGridTableOp.AddField Method

Add a field to the fields collection.

[Visual Basic .NET]
Public Sub AddField ( _
    ByVal inputGrid As IRasterDataset, _
    ByVal Field As IField _
)
[C#]
public void AddField (
    IRasterDataset inputGrid,
    IField Field
);
[C++]
HRESULT AddField(
  IRasterDataset* inputGrid,
  IField* Field
);
[C++]

Parameters

inputGrid [in]

  inputGrid is a parameter of type IRasterDataset

Field [in]

  Field is a parameter of type IField

Product Availability

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

Remarks

inputGrid

an input grid or IRasterDataset

Field

an IField object to add to the grid value attribute table (vat).

See Also

IGridTableOp Interface