This documentation is archived and is not being maintained.

CodeModel Object

Visual Studio .NET 2003

Allows access to programmatic constructs in a source code file.





[Visual Basic .NET]
Public Interface CodeModel
    Inherits IDispatch
[Visual Basic 6]
Class CodeModel
interface CodeModel : IDispatch
public interface CodeModel : IDispatch
[JScript .NET]
public interface CodeModel extends IDispatch


The CodeModel object provides code model functionality to languages at the project level, but not every member of this object is supported in every language in Visual Studio .NET.

The primary functions of the CodeModel object are to enable users to find any code element accessible within a project given a fully qualified name, and to determine the programming language in which the project is written.


Namespace: EnvDTE

File: dte.tlb

See Also

Properties, Methods, and Events | CodeModel Property (General Extensibility)