Stand-Alone Attributes
A stand-alone attribute does not operate on a C++ keyword but is more like a line of code. Stand-alone attribute statements require a semicolon at the end of the line.
Attribute |
Description |
---|---|
Emits the specified string, without the quote characters, into the generated header file. |
|
Lets you define your own attribute. |
|
Creates an OLE DB command. |
|
Determines whether all subsequent IDL attributes will be processed and placed in the generated .idl file. |
|
Specifies an entry point in a DLL. |
|
Allows you to use IDL constructs that are not supported in the current version of Visual C++ and have them pass through to the generated .idl file. |
|
Specifies another .idl, .odl, or .h file containing definitions you want to reference from your main .idl file. |
|
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. |
|
Specifies one or more header files to be included in the generated .idl file. |
|
Causes an .idl or .h file to be included in the generated .idl file. |
|
Places a construct inside the .idl file's library block. |
|
Defines the library block in the .idl file. |
|
Prevents the compiler from injecting code as a result of attribute use. |
|
Emits the specified string, without the quote characters, into the generated .idl file. |