C# Class IniFile.KeyPair, IniFile

IniFile+KeyPair is used in keys map to keep value and comment for a single key
Exibir arquivo Open project: Gris87/IniFile Class Usage Examples

Public Properties

Property Type Description
comment string
key string
value string

Public Methods

Method Description
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.

Method Details

Equals() public method

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 .
return bool

GetHashCode() public method

Serves as a hash function for a IniFile+KeyPair object.
public GetHashCode ( ) : int
return int

KeyPair() public method

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.
return System

ToString() public method

Returns a System.String that represents the current IniFile+KeyPair.
public ToString ( ) : string
return string

Property Details

comment public_oe property

public string comment
return string

key public_oe property

public string key
return string

value public_oe property

public string value
return string