C# Class IniFile.KeyPair, IniFile

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

Méthodes publiques

Свойство Type Description
comment string
key string
value string

Méthodes publiques

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

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 .
Résultat bool

GetHashCode() public méthode

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

KeyPair() public méthode

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.
Résultat System

ToString() public méthode

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

Property Details

comment public_oe property

public string comment
Résultat string

key public_oe property

public string key
Résultat string

value public_oe property

public string value
Résultat string