C# Класс IniFile.KeyPair, IniFile

IniFile+KeyPair is used in keys map to keep value and comment for a single key
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
comment string
key string
value string

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

Метод Описание
Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current IniFile+KeyPair.

GetHashCode ( ) : int

Serves as a hash function for a IniFile+KeyPair object.

KeyPair ( string key, string value, string comment ) : System

Initializes a new instance of the IniFile+KeyPair class.

ToString ( ) : string

Returns a System.String that represents the current IniFile+KeyPair.

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

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

Determines whether the specified System.Object is equal to the current IniFile+KeyPair.
public Equals ( object obj ) : bool
obj object The to compare with the current .
Результат bool

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

Serves as a hash function for a IniFile+KeyPair object.
public GetHashCode ( ) : int
Результат int

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

Initializes a new instance of the IniFile+KeyPair class.
public KeyPair ( string key, string value, string comment ) : System
key string Key name.
value string Value of key.
comment string Comment of key.
Результат System

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

Returns a System.String that represents the current IniFile+KeyPair.
public ToString ( ) : string
Результат string

Описание свойств

comment публичное свойство

public string comment
Результат string

key публичное свойство

public string key
Результат string

value публичное свойство

public string value
Результат string