KeePass.IO.Data.Entry.this C# (CSharp) Method

this() public method

Gets or sets the value of the specified key.
public this ( string key ) : string
key string
return string
        public string this[string key]
        {
            get { return TryGet(key); }
            set
            {
                Field field;
                if (_fields.TryGetValue(key, out field))
                {
                    field.Value = value;
                    return;
                }

                _fields.Add(key, new Field
                {
                    Name = key,
                    Value = value,
                });
            }
        }