PeterO.IniEntry
## PeterO.IniEntry
public sealed class IniEntry
Not documented yet.
Member Summary
[IsComment](#IsComment)
- Gets a value indicating whether this entry is a comment line.[Key](#Key)
- Gets a value not documented yet.[ToString()](#ToString)
- Converts this object to a text string.[Value](#Value)
- Gets a value not documented yet.
public IniEntry( PeterO.IniEntry entry);
Initializes a new instance of the.
Parameters:
- entry: The parameter entry is an IniEntry object.
Exceptions:
- System.ArgumentNullException: The parameter entry is null.
public IniEntry( string comment);
Initializes a new instance of the.
Parameters:
- comment: The parameter comment is a text string.
Exceptions:
-
System.ArgumentNullException: The parameter comment is null.
-
System.ArgumentException: Value is not a comment.; Characters in comment are not valid.
public IniEntry( string key, string value);
Initializes a new instance of the.
Parameters:
-
key: The parameter key is a text string.
-
value: The parameter value is a text string.
Exceptions:
-
System.ArgumentNullException: The parameter key or value is null.
-
System.ArgumentException: Characters in key are not valid.; Characters in value are not valid.
public bool IsComment { get; }
Gets a value indicating whether this entry is a comment line.
Returns:
true
if this entry is a comment line; otherwise, false
.
public string Key { get; }
Gets a value not documented yet.
Returns:
A value not documented yet.
public string Value { get; }
Gets a value not documented yet.
Returns:
A value not documented yet.
public override string ToString();
Converts this object to a text string.
Return Value:
A text string.