ArcGISCompare.GeoDbProcs.getFieldPosition C# (CSharp) Method

getFieldPosition() static private method

static private getFieldPosition ( IWorkspace theWS, String theFC, string theAtt ) : int
theWS IWorkspace
theFC String
theAtt string
return int
    internal static int getFieldPosition(IWorkspace theWS, String theFC, string theAtt)
    {
      int retValue = -1;

      IFeatureClass theClass = GetFeatureClass(theWS, theFC);
      retValue = theClass.Fields.FindField(theAtt);

      return retValue;
    }