Library Commands Object Model Reference

SurveySubmissionCommand.GetFiles Method (String, Int32)

Gets all the files in a directory up to a finite amount, including sub-directories. This is just a helper method in determining if a directory has a large amount files.

public 0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] GetFiles(
   string directory,
   int maxFilesToGet
);

Parameters

directory
The directory to search.
maxFilesToGet
0 indicates to get all files, indicates the maximum number of files to attempt to retrieve.

Return Value

A list of all files. The list may be slightly greater than the maxFilesToGet.

See Also

SurveySubmissionCommand Class | Spss.Dimensions.Library.Commands Namespace | SurveySubmissionCommand.GetFiles Overload List