Class ImportExportSpecifications (Access VBA)

The class ImportExportSpecifications represents the collection of available ImportExportSpecification objects. To use a ImportExportSpecifications class variable it first needs to be instantiated, for example

Add

Adds a new ImportExportSpecification object to the ImportExportSpecifications collection.

Add (Name, SpecificationDefinition)


Dim strName As String: strName = 
Dim strSpecificationDefinition As String: strSpecificationDefinition = 
Dim ies As ImportExportSpecification
Set ies = CodeProject.ImportExportSpecifications.Add(Name:=strName, SpecificationDefinition:=strSpecificationDefinition)

Arguments

The following arguments are required:

Name (String) - The name to use for the ImportExportSpecification.

SpecificationDefinition (String) - The XML markup that represents the settings to save for the import or export operation.

Count

You can use the Count property to determine the number of items in a specified collection.


CodeProject.ImportExportSpecifications.Count

Item

The Item property returns a specific member of a collection either by position or by index.

Item (Index)

Index: An expression that specifies the position of a member of the collection referred to by the expression argument. If a numeric expression, the Index argument must be a number from 0 to the value of the collection's Count property minus 1. If a string expression, the Index argument must be the name of a member of the collection.


CodeProject.ImportExportSpecifications(Index:=1)