2024 Method
Changes 0
M

ClassificationEntries.LoadClassificationEntriesFromFile

Description:
Loads the contents of a classification text file into the provided KeyBasedTreeEntriesLoadContent.
Remarks:
The entries read from the file will be added to any existing entries read from other files before this reading operation in the provided KeyBasedTreeEntriesLoadContent. if file A was read, and then file B was failed to read, all the entries from file A will still be there to build KeynoteEntries object.
public static bool LoadClassificationEntriesFromFile(
	string filePath,
	KeyBasedTreeEntriesLoadContent loadContent
)
  • String
    filePath
    The full path of the existing classification file.
  • loadContent
    The classification entries read from the filePath will be added to this object. A KeyBasedTreeEntriesLoadContent object will also be updated to contain status information, including information about any errors that occurred while reading the keynote entries from the specified file.
Return Value bool True if reading the keynote file succeeds; False if the classification file cannot be read.