C# Class FileSystem.CsvFile

Wraps a CSV file which contains a set of named values.
One tag per line with three fields: name, data type and value. The data type is the name of a BuiltInType (see the BuiltInType enumeration).
Mostra file Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
CsvFile ( ) : System

Creates an empty file,

GetValue ( string name ) : object

Returns the value with the specified name.

Load ( FileInfo source ) : void

Loads the tags from the specified file.

Save ( FileInfo source ) : void

Saves the tags to the specified file.

SetValue ( string name, object value ) : void

Sets the value with the specified name.

Method Details

CsvFile() public method

Creates an empty file,
public CsvFile ( ) : System
return System

GetValue() public method

Returns the value with the specified name.
public GetValue ( string name ) : object
name string
return object

Load() public method

Loads the tags from the specified file.
public Load ( FileInfo source ) : void
source System.IO.FileInfo
return void

Save() public method

Saves the tags to the specified file.
public Save ( FileInfo source ) : void
source System.IO.FileInfo
return void

SetValue() public method

Sets the value with the specified name.
public SetValue ( string name, object value ) : void
name string
value object
return void