This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IReplicaDescription Interface > IReplicaDescription.FindTable Method (ArcObjects .NET 10.4 SDK) |
Gets the index number of a dataset.
[Visual Basic .NET] Public Function FindTable ( _ ByVal DatasetName As IName _ ) As Integer
[C#] public int FindTable ( IName DatasetName );
[C++]
HRESULT FindTable(
IName* DatasetName,
long* Index
);
[C++]
Parameters DatasetName [in]
DatasetName is a parameter of type IName Index [out, retval] Index is a parameter of type long
This property may return indexes for Name objects that were not passed into the Init method. This is because the Init method expands the list of datasets to ensure database integrity. The index returned can be used with the TableName property to get name object back from the list.