Fills the TableBindingAdapter with the specified rows.

Namespace:  ESRI.ArcGISExplorer.Data

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public void Fill(
	int[] objectIDs
)
Visual Basic (Declaration)
Public Sub Fill ( _
	objectIDs As Integer() _
)

Parameters

objectIDs
Type: array< System..::.Int32 >[]()[]

An array of unique object identifier values.

Examples

The code below creates a TableBindingAdapter object for a file geodatabase feature class and fills it with only the specified rows.
CopyC#
{
  //Open the mountains fill geodatabase feature class
  Table mountains = Table.OpenFileGeodatabaseTable(@"C:\Data\Scotland.gdb", "mountains");

  //Create a new TableBindingAdapter object for the mountains Table
  TableBindingAdapter tableAdapter = new TableBindingAdapter(mountains);
  //Fill the adapter with the specified rows
  tableAdapter.Fill(new int[] {1,15,232});

  System.Diagnostics.Debug.Print(tableAdapter.Count.ToString());  //Prints "3"  
}
CopyVB.NET
'Open the mountains file geodatabase feature class
Dim mountainsTable As Table = Table.OpenFileGeodatabaseTable("C:\Data\Scotland.gdb", "mountains")

'Create a new TableBindingAdapter object for the mountains Table
Dim tableAdapter As TableBindingAdapter = New TableBindingAdapter(mountainsTable)
'Fill the adapter with the specified rows
tableAdapter.Fill(New Integer() {1, 15, 232})

System.Diagnostics.Debug.Print(tableAdapter.Count.ToString()) 'Prints "3"

See Also