VCCodeModel Methods

Include Protected Members
Include Inherited Members

The VCCodeModel type exposes the following members.

Methods

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

Top

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace