VCCodeModel Methods
Include Protected Members
Include Inherited Members
The VCCodeModel type exposes the following members.
Methods
Name | Description | |
---|---|---|
AbortTransaction | Cancels the current transaction. | |
AddAttribute | Creates a new attribute code construct and inserts the code in the correct location. | |
AddClass | Creates a new class code construct and inserts the code in the correct location. | |
AddDelegate | Creates a new delegate code construct and inserts the code in the correct location. | |
AddEnum | Creates a new enumeration code construct and inserts the code in the correct location. | |
AddFunction | Creates a new function code construct and inserts the code in the correct location. | |
AddIDLImport | Adds a new import statement to a specific .idl file. | |
AddIDLLibrary | Adds a new library statement to a specific .idl file. | |
AddImport | Adds a #import element to a specific file. | |
AddInclude | Adds a #include element to a specific file. | |
AddInterface | Creates a new interface code construct and inserts the code in the correct location. | |
AddMacro | Adds a #define element to a specific file. | |
AddMap | Adds a map entry to the object. | |
AddNamespace | Creates a new namespace code construct and inserts the code in the correct location. | |
AddStruct | Creates a new structure code construct and inserts the code in the correct location. | |
AddTypedef | Adds a typedef element to a specific file. | |
AddUnion | Adds a union element to the VCCodeModel object. | |
AddUsing | Adds a #using element to a specific file. | |
AddVariable | Creates a new variable code construct and inserts the code in the correct location. | |
CodeElementFromFullName | Gets a collection of the specified code elements for the object. | |
CodeElementFromFullName2 | Gets a collection of the specified code elements for the object. It is identical to CodeElementFromFullName, except that it ignores namespaces during lookup. | |
CodeTypeFromFullName | Returns a code element based on a fully qualified name. | |
CodeTypeFromFullName2 | Returns a code element based on a fully qualified name. It is identical to CodeTypeFromFullName except that it will attempt typedef resolution. | |
CommitTransaction | Commits the current transaction for the object. | |
CreateCodeTypeRef | A CodeTypeRef object based on the data type indicator passed. | |
DotNetNameFromLanguageSpecific | Translates the namespace to a .NET form. | |
ElementFromID | Not implemented. | |
GetClassesDerivedFrom | ||
IsValidID | Returns whether a specified name is a valid programmatic identifier for the current language. | |
LanguageSpecificNameFromDotNet | Translates from the fully qualified name to an unmanaged namespace form. | |
Remove | Removes the specified project from the solution. | |
RemoveEx | Removes the specified project from the solution. | |
StartTransaction | Begins a transaction. | |
Synchronize | Synchronizes all code model objects in the solution with edits made to source files. | |
SynchronizeCancellable | Displays a dialog box that has a progress bar. The user can cancel waiting and unblock the thread. | |
SynchronizeFiles | Ensures that the FileCodeModel property on a project file is not null. | |
ValidateMember | Validates that the proposed name is a valid C++ name for the kind given in the context of the parent object. | |
ValidateMemberName |
Top