Enums?

Posts   
 
    
endiss
User
Posts: 3
Joined: 09-Mar-2012
# Posted on: 19-Mar-2012 09:52:32   

Hi can i make Enums in Llbgen? If yes can you explain me how to make one?

Walaa avatar
Walaa
Support Team
Posts: 14984
Joined: 21-Aug-2005
# Posted on: 19-Mar-2012 10:11:11   
endiss
User
Posts: 3
Joined: 09-Mar-2012
# Posted on: 19-Mar-2012 10:17:32   

Walaa wrote:

You need to use Enum Type Import Definitions

Ye but i don't have that file. Can u give me simple example.

Walaa avatar
Walaa
Support Team
Posts: 14984
Joined: 21-Aug-2005
# Posted on: 19-Mar-2012 11:07:16   

As explained in the docs, the file should have nothing except the XML tags mentioned.

Example:

<typeImports>
    <typeImport typeName="EnumTypes.Country" assemblyFile="D:\EnumTypes.dll"/> 
</typeImports>