Share via


Value of XMLTable.XMLName must be used as key value for collection. (Error 2099)

The XMLName property for an XMLTable must be used as the key, when adding the XMLTable to a Tables collection for an XMLAdapter.

  • Make sure that any XMLTable objects, that are going to be added to a collection have the XMLName property set to a valid value, and that this value is used as they key.