An object providing project-level access to any contained code element.
The VCCodeModel type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) | AbortTransaction | Cancels the current transaction. | 
| .gif) | AddAttribute | (Inherited from CodeModel2.) | 
| .gif) | AddClass | (Inherited from CodeModel2.) | 
| .gif) | AddDelegate | (Inherited from CodeModel2.) | 
| .gif) | AddEnum | (Inherited from CodeModel2.) | 
| .gif) | AddFunction | (Inherited from CodeModel2.) | 
| .gif) | AddIDLImport | Adds a new import statement to a specific .idl file. | 
| .gif) | AddIDLLibrary | Adds a new library statement to a specific .idl file. | 
| .gif) | AddImport | Adds a #import element to a specific file. | 
| .gif) | AddInclude | Adds a #include element to a specific file. | 
| .gif) | AddInterface | (Inherited from CodeModel2.) | 
| .gif) | AddMacro | Adds a #define element to a specific file. | 
| .gif) | AddMap | Adds a map entry to the object. | 
| .gif) | AddNamespace | (Inherited from CodeModel2.) | 
| .gif) | AddStruct | (Inherited from CodeModel2.) | 
| .gif) | AddTypedef | Adds a typedef element to a specific file. | 
| .gif) | AddUnion | Adds a union element to the VCCodeModel object. | 
| .gif) | AddUsing | Adds a #using element to a specific file. | 
| .gif) | AddVariable | (Inherited from CodeModel2.) | 
| .gif) | CodeElementFromFullName | Gets a collection of the specified code elements for the object. | 
| .gif) | CodeTypeFromFullName | (Inherited from CodeModel2.) | 
| .gif) | CommitTransaction | Commits the current transaction for the object. | 
| .gif) | CreateCodeTypeRef | (Inherited from CodeModel2.) | 
| .gif) | DotNetNameFromLanguageSpecific | (Inherited from CodeModel2.) | 
| .gif) | ElementFromID | (Inherited from CodeModel2.) | 
| .gif) | IsValidID | (Inherited from CodeModel2.) | 
| .gif) | LanguageSpecificNameFromDotNet | (Inherited from CodeModel2.) | 
| .gif) | Remove | (Inherited from CodeModel2.) | 
| .gif) | RemoveEx | Removes the specified project from the solution. | 
| .gif) | StartTransaction | Begins a transaction. | 
| .gif) | Synchronize | (Inherited from CodeModel2.) | 
| .gif) | ValidateMember | Validates that the proposed name is a valid C++ name for the kind given in the context of the parent object. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Attributes | Gets a collection of all of the attributes for the object. | 
| .gif) | Classes | Gets a collection of classes for the object. | 
| .gif) | CodeElements | (Inherited from CodeModel2.) | 
| .gif) | Delegates | Gets a collection of delegates for the object. | 
| .gif) | DialogClasses | Gets a collection of dialog classes. | 
| .gif) | DTE | (Inherited from CodeModel2.) | 
| .gif) | Enums | Gets a collection of enumerations for the object. | 
| .gif) | Functions | Gets a collection of functions for the object. | 
| .gif) | IDLImports | Gets the collection of Import statements from the .idl file of the parent object. | 
| .gif) | IDLLibraries | Gets the collection of Library elements on the object. | 
| .gif) | Imports | Gets the collection of #import statements for the parent object. | 
| .gif) | Includes | Gets the collection of #include statements for the object. | 
| .gif) | Interfaces | Gets the collection of interfaces for the object. | 
| .gif) | IsCaseSensitive | (Inherited from CodeModel2.) | 
| .gif) | Language | (Inherited from CodeModel2.) | 
| .gif) | Macros | Gets the collection of macros (#define statements) for the object. | 
| .gif) | Maps | Gets the collection of maps for the object. | 
| .gif) | Namespaces | Gets the collection of namespaces for the object. | 
| .gif) | Parent | (Inherited from CodeModel2.) | 
| .gif) | Structs | Gets the collection of structure elements for the object. | 
| .gif) | Typedefs | Gets the collection of Typedef elements for the object. | 
| .gif) | Unions | Gets the collection of Union elements for the object. | 
| .gif) | Usings | Gets the collection of #using elements for the object. | 
| .gif) | Variables | Gets the collection of variables for the object. | 
Top