Valued Mentor
Posts: 366
Registered: ‎03-31-2005
Message 1 of 2 (137 Views)

Do DictionaryEntry and DBDictionayEntry have the same structure?

137 Views, 1 Replies
08-02-2012 08:48 AM

Are these types identical?

*Expert Elite*
Posts: 2,069
Registered: ‎04-29-2006
Message 2 of 2 (130 Views)

Re : Do DictionaryEntry and DBDictionayEntry have the same structure?

08-02-2012 10:19 AM in reply to: fieldguy



They are two different Structures from two different namespaces (System.Collection and Autodesk.AutoCAD.DatabaseServices).

DictionaryEntry keys and values are both object type, a DBDictionaryEntry key have to be a string and its value an ObjectId.


But there're explicit cast operators in the DBDictionaryEntry struct definition:

        public static explicit operator DictionaryEntry(DBDictionaryEntry entry);
        public static explicit operator DBDictionaryEntry(DictionaryEntry entry);
Gilles Chanteau

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community