Serenity.Data.Row.SetDictionaryData C# (CSharp) Method

SetDictionaryData() public method

public SetDictionaryData ( object key, object value ) : void
key object
value object
return void
        public void SetDictionaryData(object key, object value)
        {
            if (value == null)
            {
                if (dictionaryData == null)
                    return;
                dictionaryData[key] = null;
            }
            else
            {
                if (dictionaryData == null)
                    dictionaryData = new Hashtable();
                dictionaryData[key] = value;
            }
        }