Kimono.KCoreConfigSkeleton.AddItemULongLong C# (CSharp) Метод

AddItemULongLong() публичный Метод

Register an item of type quint64 name="name" Name used to identify this setting. Names must be unique. name="reference" Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. name="defaultValue" Default value, which is used when the config file does not yet contain the key of this item. name="key" Key used in config file. If key is null, name is used as key.
public AddItemULongLong ( string name, ulong &reference ) : KCoreConfigSkeleton.ItemULongLong
name string
reference ulong
Результат KCoreConfigSkeleton.ItemULongLong
        public KCoreConfigSkeleton.ItemULongLong AddItemULongLong(string name, ref ulong reference)
        {
            StackItem[] stack = new StackItem[3];
            #if DEBUG
            stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(name);
            #else
            stack[1].s_class = (IntPtr) GCHandle.Alloc(name);
            #endif
            stack[2].s_ulong = reference;
            interceptor.Invoke("addItemULongLong$?", "addItemULongLong(const QString&, quint64&)", stack);
            #if DEBUG
            DebugGCHandle.Free((GCHandle) stack[1].s_class);
            #else
            ((GCHandle) stack[1].s_class).Free();
            #endif
            reference = stack[2].s_ulong;
            return (KCoreConfigSkeleton.ItemULongLong) Enum.ToObject(typeof(KCoreConfigSkeleton.ItemULongLong), stack[0].s_int);
        }