VCCodeVariable.CodeModel Property
Gets the VCCodeModel object for the project.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
声明
ReadOnly Property CodeModel As VCCodeModel
用法
Dim instance As VCCodeVariable
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 VCCodeModel object gives you project-level access to code elements or definitions in source files.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Concepts
How to: Compile and Run the Automation Object Model Code Examples