ImportExportSpecifications.Add 方法 (Access)ImportExportSpecifications.Add method (Access)

將新的**ImportExportSpecification** 物件新增至ImportExportSpecifications集合。Adds a new ImportExportSpecification object to the ImportExportSpecifications collection.

語法Syntax

運算式新增名稱SpecificationDefinitionexpression.Add (Name, SpecificationDefinition)

_運算式_代表**ImportExportSpecifications** 物件的變數。expression A variable that represents an ImportExportSpecifications object.

參數Parameters

名稱Name 必要/選用Required/Optional 資料類型Data type 描述Description
名稱Name 必要Required StringString ImportExportSpecification 使用的名稱。The name to use for the ImportExportSpecification.
SpecificationDefinitionSpecificationDefinition 必要Required StringString 代表為匯入或匯出作業儲存之設定的 XML 標記。The XML markup that represents the settings to save for the import or export operation.

傳回值Return value

ImportExportSpecificationImportExportSpecification

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.