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).
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Creates an empty file,
public CsvFile ( ) : System
Résultat System

GetValue() public méthode

Returns the value with the specified name.
public GetValue ( string name ) : object
name string
Résultat object

Load() public méthode

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

Save() public méthode

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

SetValue() public méthode

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