public NamedToPropertyLookup(PSTFile pst)
        {
            this.PC = new PropertyContext(NamedToPropertyLookup.NODE_ID, pst);
            this._GUIDs = this.PC.Properties[0x0002].Data;
            this._entries = this.PC.Properties[0x0003].Data;
            this._string = this.PC.Properties[0x0004].Data;

            this.Lookup = new Dictionary<ushort, NAMEID>();
            for (int i = 0; i < this._entries.Length; i += 8)
            {
                var cur = new NAMEID(this._entries, i, this);
                this.Lookup.Add(cur.PropIndex, cur);
            }
        }
Beispiel #2
0
        public NamedToPropertyLookup(PSTFile pst)
        {
            this.PC       = new PropertyContext(NamedToPropertyLookup.NODE_ID, pst);
            this._GUIDs   = this.PC.Properties[0x0002].Data;
            this._entries = this.PC.Properties[0x0003].Data;
            this._string  = this.PC.Properties[0x0004].Data;

            this.Lookup = new Dictionary <ushort, NAMEID>();
            for (int i = 0; i < this._entries.Length; i += 8)
            {
                var cur = new NAMEID(this._entries, i, this);
                this.Lookup.Add(cur.PropIndex, cur);
            }
        }
        public NamedToPropertyLookup(PSTFile pst)
        {
            PC       = new PropertyContext(NODE_ID, pst);
            _GUIDs   = PC.Properties[MessageProperty.GuidList].Data;
            _entries = PC.Properties[MessageProperty.EntryList].Data;
            _string  = PC.Properties[MessageProperty.StringList].Data;

            Lookup = new Dictionary <ushort, NAMEID>();
            for (int i = 0; i < _entries.Length; i += 8)
            {
                var cur = new NAMEID(_entries, i, this);
                Lookup.Add(cur.PropIndex, cur);
            }
        }