Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

FileCodeModel Object and CodeModel Object in Visual Basic, C# and J# 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, C#, and J# 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.

How to: Create a J# Class by Using the CodeModel Object

Uses the CodeModel2 object to generate code in a Visual J# project.

Related Sections

Extending Visual Basic, Visual C# and Visual J# Projects

Describes the objects available for developing extensibility applications that are specific to Visual C#, Visual Basic, and Visual J# projects.

Discovering Code with the Code Model (Visual Basic)

Uses the CodeModel2 object to discover code in projects by using Visual Basic.

Discovering Code with the Code Model (Visual C#)

Uses the CodeModel2 object to discover code in projects by using Visual C#.

Community Additions

ADD
Show:
© 2015 Microsoft