Share via


VCCodeAttribute.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
VCCodeModel CodeModel { get; }
property VCCodeModel^ CodeModel {
    VCCodeModel^ get ();
}
abstract CodeModel : VCCodeModel with get
function get CodeModel () : VCCodeModel

Property Value

Type: Microsoft.VisualStudio.VCCodeModel.VCCodeModel
A VCCodeModel object representing the code model for the attribute's project.

Remarks

The VCCodeModel object gives you project-level access to Visual C++ code elements that are specific to Visual C++ or access to definitions in source files.

.NET Framework Security

See Also

Reference

VCCodeAttribute Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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