Allows access to programmatic constructs in a source code file.
DTE
Projects
Project
CodeModel
[Visual Basic .NET]
Public Interface CodeModel
Inherits IDispatch
[C++]
interface CodeModel : IDispatch
[C#]
public interface CodeModel : IDispatch
[JScript .NET]
public interface CodeModel extends IDispatch
Remarks
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.
Requirements
Namespace: EnvDTE
File: dte.tlb
See Also
Properties, Methods, and Events | CodeModel Property (General Extensibility)