DekGenius.com
[ Team LiB ] Previous Section Next Section

D.9 Type Library Exporter (tlbexp.exe)

Type library exporter and importer are the two tools necessary for COM interop. The exporter generates a type library for a .NET Framework assembly so that other COM components can interop with .NET components. The general syntax for tlbexp.exe is:

tlbexp AssemblyName [options]

Table D-9 shows some of the common uses of tlbexp.exe.

Table D-9. Type Library Exporter common uses

Option

Description

/nologo

This option suppresses the logo of the tlbexp executable.

/out:filename

filename is the name of the type library file.

/silent

This option suppresses all messages from the tlbexp executable.

/verbose

This option displays extra information while converting the component.

/? or /help

This option displays the help information for the tool.

    [ Team LiB ] Previous Section Next Section