FileCodeModel Object and CodeModel Object in Visual Basic and C# Extensibility Applications
The FileCodeModel and CodeModel objects enable you to programmatically access the structure of the code in your project.
In This Section
Overview of the CodeModel Object for Visual Basic and C# Applications
Describes the implementation of the CodeModel2 object for Visual Basic, Visual C#, and Visual J# projects.How to: Use the CodeModel Object to Analyze Visual Basic Code
Uses the CodeModel2 object to examine the code in a Visual Basic project.How to: Create a C# Class by Using the CodeModel Object
Uses the CodeModel2 object to generate code in a Visual C# project.
Related Sections
Extending Visual Basic and Visual C# Projects
Describes the objects available for developing extensibility applications that are specific to Visual C#, Visual Basic, and Visual J# projects.Discovering Code by Using the Code Model (Visual Basic)
Uses the CodeModel2 object to discover code in projects by using Visual Basic.Discovering Code by Using the Code Model (Visual C#)
Uses the CodeModel2 object to discover code in projects by using Visual C#.