Version

Exists Method (DataViewCollection)

Checks if a DataView inside the collection exists, based DataSourceID and DataMember
Syntax
'Declaration
 
Public Function Exists( _
   ByVal dataSourceID As String, _
   ByVal dataMember As String _
) As Boolean
public bool Exists( 
   string dataSourceID,
   string dataMember
)

Parameters

dataSourceID
The value of DataSourceID
dataMember
The value of DataMember

Return Value

True if the DataView found or false if nothing has been found
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also