ESRI.ArcGIS.ADF.Web.DataSources
CompareFieldNames Method
See Also  Send Feedback
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(Of String), _
   ByRef fieldsOnlyInOther As List(Of String) _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FieldInfoCollection
Dim other As FieldInfoCollection
Dim fieldsOnlyInThis As List(Of String)
Dim fieldsOnlyInOther As List(Of String)
Dim value As Boolean
 
value = instance.CompareFieldNames(other, fieldsOnlyInThis, fieldsOnlyInOther)
C# 
public bool CompareFieldNames( 
   FieldInfoCollection other,
   out List<string> fieldsOnlyInThis,
   out List<string> 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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.