DataContainerFactory Class#
Inheritance Hierarchy#
System.Object
Basler.Pylon.DataContainerFactory
Syntax#
C#
VB
The DataContainerFactory type exposes the following members.
Constructors#
Name | Description | |
---|---|---|
DataContainerFactory | Initializes a new instance of the DataContainerFactory class |
Methods#
Name | Description | |
---|---|---|
CreateFromFile | Create a data container from a file. |
DataContainerFactory.CreateFromFile Method#
Create a data container from a file.
Syntax#
C#
VB
Parameters#
- filename
- Type: System.String
Path to an existing file.
Return Value#
Type: IDataContainer
Returns a data container.
Remarks#
Thread Safety:This method is thread-safe.
Error Safety:This method throws
FileLoadException if the file cannot be loaded.
FileNotFoundException if the file was not found.
DataContainerFactory Constructor#
Initializes a new instance of the DataContainerFactory class
Syntax#
C#
VB