This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IG > IGridTableOp Interface > IGridTableOp.AddField Method (ArcObjects .NET 10.4 SDK) |
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
inputGrid |
an input grid or IRasterDataset |
Field |
an IField object to add to the grid value attribute table (vat). |