Click or drag to resize

fileDataStructureExtensionsLoadDataStructureT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Loads the data structure from path. Use path with file name if propertyValue

Namespace:  imbSCI.Core.files.fileDataStructure
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static T LoadDataStructure<T>(
	this string path,
	folderNode parentFolder = null,
	ILogBuilder output = null
)
where T : new(), IFileDataStructure
Request Example View Source

Parameters

path
Type: SystemString
The path.
parentFolder (Optional)
Type: imbSCI.Core.files.foldersfolderNode
The parent folder.
output (Optional)
Type: imbSCI.Core.reportingILogBuilder
The output.

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
NotImplementedExceptionCan't have File Data Structure loaded if no file structure mode specified or JSON not implemented yet or binary file not implemented yet
See Also