Visual Basic Reference

Visual Studio 6.0

Add Method (DataMembers Collection)

See Also    Example    Applies To

Adds a data member to the DataMembers Collection.


object.Add (DataMember)

The Add method syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
DataMember Required. A unique string that can be used to identify a specific data member.


A data member can be either ADO recordset, an object that implements the OLE Simple Provider (OSP) interface using the Implements statement with the OSP class, or an OLEDB provider created with Visual Basic.