BplusDotNet.BplusTree.Get C# (CSharp) Method

Get() public method

public Get ( string key, object defaultValue ) : object
key string
defaultValue object
return object
        public object Get(string key, object defaultValue)
        {
            object test = this.tree.Get(key, "");
            if (test is byte[])
            {
                return BytesToString((byte[]) test);
            }
            return defaultValue;
        }