Click to Rate and Give Feedback
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Basic, Visual C#, and Visual J# Project Extensibility 
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#.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker