An object representing the code elements in a source file.
The VCFileCodeModel type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
AbortTransaction | Halts the current transaction. |
![]() |
AddAttribute | (Inherited from FileCodeModel2.) |
![]() |
AddClass | (Inherited from FileCodeModel2.) |
![]() |
AddDelegate | (Inherited from FileCodeModel2.) |
![]() |
AddEnum | (Inherited from FileCodeModel2.) |
![]() |
AddFunction | (Inherited from FileCodeModel2.) |
![]() |
AddIDLImport | Adds a new import statement to the .idl file of the VCFileCodeModel object. |
![]() |
AddIDLLibrary | Adds a new library statement to the .idl file of the VCFileCodeModel object. |
![]() |
AddImport | (Inherited from FileCodeModel2.) |
![]() |
AddImport_2 | Adds a #import element to the VCFileCodeModel object. |
![]() |
AddInclude | Adds a #include element to the VCFileCodeModel object. |
![]() |
AddInterface | (Inherited from FileCodeModel2.) |
![]() |
AddMacro | Adds a #define element to the VCFileCodeModel object. |
![]() |
AddMap | Adds a map to the object. |
![]() |
AddNamespace | (Inherited from FileCodeModel2.) |
![]() |
AddStruct | (Inherited from FileCodeModel2.) |
![]() |
AddTypedef | Adds a typedef statement to the object. |
![]() |
AddUnion | Adds a union statement to the object. |
![]() |
AddUsing | Adds a #using element to the VCFileCodeModel object. |
![]() |
AddVariable | (Inherited from FileCodeModel2.) |
![]() |
BeginBatch | (Inherited from FileCodeModel2.) |
![]() |
CodeElementFromFullName | Gets a collection of the specified code elements for the object. |
![]() |
CodeElementFromPoint | (Inherited from FileCodeModel2.) |
![]() |
CommitTransaction | Commits the current transaction for the object. |
![]() |
ElementFromID | (Inherited from FileCodeModel2.) |
![]() |
EndBatch | (Inherited from FileCodeModel2.) |
![]() |
Remove | (Inherited from FileCodeModel2.) |
![]() |
RemoveEx | Removes the specified project from the solution with an option to delete. |
![]() |
StartTransaction | Begins a transaction. |
![]() |
Synchronize | (Inherited from FileCodeModel2.) |
![]() |
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 | |
|---|---|---|
![]() |
Attributes | Gets a collection of all of the attributes for the object. |
![]() |
Classes | Gets a collection of classes for the object. |
![]() |
CodeElements | (Inherited from FileCodeModel2.) |
![]() |
Delegates | Gets a collection of delegates for the object. |
![]() |
DTE | (Inherited from FileCodeModel2.) |
![]() |
EndPoint | Gets the edit point that is the location of the end of the code item. |
![]() |
Enums | Gets a collection of enumerations for the object. |
![]() |
Functions | Gets a collection of functions for the object. |
![]() |
IDLImports | Gets the collection of Import statements from the .idl file of the object. |
![]() |
IDLLibraries | Gets the collection of Library elements on the object. |
![]() |
Imports | Gets the collection of #import statements for the object. |
![]() |
Includes | Gets the collection of #include statements for the object. |
![]() |
Interfaces | Gets the collection of interfaces for the object. |
![]() |
IsBatchOpen | (Inherited from FileCodeModel2.) |
![]() |
IsManaged | Gets true if the ref keyword is used. |
![]() |
IsMCOldSyntax | Gets a value indicating whether the file was compiled using the old syntax. |
![]() |
Language | (Inherited from FileCodeModel2.) |
![]() |
Macros | Gets the collection of macros (#define statements) for the object. |
![]() |
Maps | Gets the collection of maps for the object. |
![]() |
Namespaces | Gets the collection of namespaces for the object. |
![]() |
Parent | (Inherited from FileCodeModel2.) |
![]() |
ParseStatus | (Inherited from FileCodeModel2.) |
![]() |
StartPoint | Gets a TextPoint object that defines the beginning of the code item. |
![]() |
Structs | Gets the collection of structure elements for the object. |
![]() |
Typedefs | Gets the collection of typedef elements for the object. |
![]() |
Unions | Gets the collection of union elements for the object. |
![]() |
Usings | Gets the collection of #using elements for the object. |
![]() |
Variables | Gets the collection of variables for the object. |
Top
.gif)
.gif)