Share via


VCCodeElement.CodeModel Property

Gets the VCCodeModel object for the project.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'Declaration
ReadOnly Property CodeModel As VCCodeModel
'Usage
Dim instance As VCCodeElement 
Dim value As VCCodeModel 

value = instance.CodeModel
VCCodeModel CodeModel { get; }
property VCCodeModel^ CodeModel {
    VCCodeModel^ get ();
}
function get CodeModel () : VCCodeModel

Property Value

Type: Microsoft.VisualStudio.VCCodeModel.VCCodeModel
A VCCodeModel object.

Remarks

The CodeModel object gives you project-level access to code elements or definitions in source files.

.NET Framework Security

See Also

Reference

VCCodeElement Interface

VCCodeElement Members

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples