Library Specification Object Model Reference

ISurveyAsset.AddAssociatedFile Method (String, String)

Adds an associated file to the asset.

void AddAssociatedFile(
   string fileName,
   string relativePath
);

Parameters

fileName
The name of the file to add.
relativePath
The relative path within the mzd this file should be save to. An mzd is really a zip file, which contains files with relative directories. Can include directory components. The convention for names is 'unix' style paths with no device names and path elements separated by '/' characters. For example AddAssociatedFile("c:\temp\file.abc", "newFolder/anotherFolder/anotherFolder/filename.xxx")

Return Value

See Also

ISurveyAsset Interface | Spss.Dimensions.Library.Specification Namespace | ISurveyAsset.AddAssociatedFile Overload List