C# Класс 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).
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

CsvFile() публичный Метод

Creates an empty file,
public CsvFile ( ) : System
Результат System

GetValue() публичный Метод

Returns the value with the specified name.
public GetValue ( string name ) : object
name string
Результат object

Load() публичный Метод

Loads the tags from the specified file.
public Load ( FileInfo source ) : void
source System.IO.FileInfo
Результат void

Save() публичный Метод

Saves the tags to the specified file.
public Save ( FileInfo source ) : void
source System.IO.FileInfo
Результат void

SetValue() публичный Метод

Sets the value with the specified name.
public SetValue ( string name, object value ) : void
name string
value object
Результат void