Compiler attributes provide a variety of functionality.
| Attribute | Description | 
|---|---|
| Determines whether all subsequent IDL attributes will be processed and placed in the generated .idl file. | |
| Creates an event receiver. | |
| Creates an event source. | |
| Causes a data structure to be placed in the .idl file. | |
| Specifies dispatch interfaces that are forced to be members of the IDL coclass. | |
| Inserts the specified .idl file into the generated .idl file. | |
| Makes types that have already been compiled into another type library available to the type library being created. | |
| Causes an .idl or .h file to be included in the generated .idl file. | |
| Places a construct inside the .idl file's library block. | |
| Prevents the compiler from injecting code as a result of attribute use. | |
| Specifies the data type of the SAFEARRAY. | |
| Identifies a particular version among multiple versions of an interface or class. |