Click or drag to resize

ImportWithFileNameDerivedPropertiesAction Methods

The ImportWithFileNameDerivedPropertiesAction type exposes the following members.

Methods
 NameDescription
Public methodBulkImportFiles Bulk import files, by extracting properties from the file name, putting them into property bags at different levels, and importing the file into the target table.
Public methodEnsureExistenceOfTargetTable Ensures the existence of the target table with the specified name. If the table does not exist, it will be created. If a folder or table is specified as a template, it will be used to create the target table if it is missing.
Public methodExecute Bulk import files, by extracting properties from the file name, putting them into property bags at different levels, and importing the file into the target table.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetProjectItemNameFromTemplateName Gets the target table name by replacing placeholders in the target template name with actual property values from the provided properties enumeration.
Public methodStatic memberGetPropertiesPlacedInProjectItems Gets a list of tuples containing the target item kind, project item name, property name, and property value for each file path based on the provided target template name, name splitter, and actions on properties. Each file path is processed to extract properties and determine where to place them in the project structure.
Public methodStatic memberGetPropertiesPlacedInProjectItemsWithDiagnostics Gets a list of tuples containing the target item kind, project item name, property name, property value, and diagnostic message for each file path based on the provided target template name, name splitter, and actions on properties. Each file path is processed to extract properties and determine where to place them in the project structure. If there are inconsistent property values for the same (TargetItemKind, ProjectItemName, PropertyName) tuple across different file paths, a diagnostic message will be included in the result.
Public methodStatic memberGetTableNamesToFileNamesRelationship Gets a dictionary mapping target table names to lists of file paths, based on the provided file paths, target template name, and name splitter. Each file path is processed to extract properties and determine the corresponding target table name.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberResolveFileNames Resolves a list of file names, which may contain wildcard characters (* and ?), into a list of FileInfo objects. If a file name does not exist, a FileNotFoundException is thrown.
Top
See Also