Gets a value indicating if a code element has been injected by an attribute or macro expansion.
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
See How to: Compile Example Code for Visual C++ Code Model Extensibility for information on how to compile and run this sample.
This example iterates through all global VCCodeElement objects in a file and displays the name of those objects injected by attribute or macro expansions.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.