Creates the file data source from a path.
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public DataSource CreateFileDataSource( string filePath )
Parameters
- filePath
- Type: SystemString
The path of the file from which to read data.
Return Value
Type: DataSourceA data source.
Exceptions
Exception | Condition |
---|---|
ArgumentException | If the file pointed out by filePath cannot be read by any data source currently defined in the application. |
Version Information
See Also