ESRI.ArcGIS.ADF.Web.DataSources
CompareFieldNames Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources Namespace > FieldInfoCollection Class : CompareFieldNames Method




other
The field info collection to compare with the current one.
fieldsOnlyInThis
Names of fields only in the current collection.
fieldsOnlyInOther
Names of fields only in the input collection.
Compares the current collection with an input FieldInfoCollection.

Syntax

Visual Basic (Declaration) 
Public Function CompareFieldNames( _
   ByVal other As FieldInfoCollection, _
   ByRef fieldsOnlyInThis As List, _
   ByRef fieldsOnlyInOther As List _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FieldInfoCollection
Dim other As FieldInfoCollection
Dim fieldsOnlyInThis As List
Dim fieldsOnlyInOther As List
Dim value As Boolean
 
value = instance.CompareFieldNames(other, fieldsOnlyInThis, fieldsOnlyInOther)
C# 
public bool CompareFieldNames( 
   FieldInfoCollection other,
   out List fieldsOnlyInThis,
   out List fieldsOnlyInOther
)

Parameters

other
The field info collection to compare with the current one.
fieldsOnlyInThis
Names of fields only in the current collection.
fieldsOnlyInOther
Names of fields only in the input collection.

Return Value

True if both collections have the same set of field names, false if they have at least one field not in common.

See Also

© 2010 All Rights Reserved.