Beispiel #1
0
        /// <summary>Gets the comment associated to given key. If there is no comment, empty string is returned.
        /// If the key does not exist, NULL is returned.</summary>
        public string GetComment(string key)
        {
            IniFileValue val = GetValue(key);

            return(val == null ? null : getComment(val));
        }
Beispiel #2
0
        /// <summary>Gets the inline comment for given key.</summary>
        public string GetInlineComment(string key)
        {
            IniFileValue val = GetValue(key);

            return(val == null ? null : val.InlineComment);
        }