Share via


VCCodeModel Members

Include Protected Members
Include Inherited Members

An object providing project-level access to any contained code element.

The VCCodeModel type exposes the following members.

Methods

 

Name

Description

Public method

AbortTransaction

Cancels the current transaction.

Public method

AddAttribute

Overloaded.

Public method

AddClass

Overloaded.

Public method

AddDelegate

Overloaded.

Public method

AddEnum

Overloaded.

Public method

AddFunction

Overloaded.

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

Overloaded.

Public method

AddMacro

Adds a #define element to a specific file.

Public method

AddMap

Adds a map entry to the object.

Public method

AddNamespace

Overloaded.

Public method

AddStruct

Overloaded.

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

Overloaded.

Public method

CodeElementFromFullName

Gets a collection of the specified code elements for the object.

Public method

CodeTypeFromFullName

Overloaded.

Public method

CommitTransaction

Commits the current transaction for the object.

Public method

CreateCodeTypeRef

Overloaded.

Public method

DotNetNameFromLanguageSpecific

Overloaded.

Public method

ElementFromID

Overloaded.

Public method

IsValidID

Overloaded.

Public method

LanguageSpecificNameFromDotNet

Overloaded.

Public method

Remove

Overloaded.

Public method

RemoveEx

Removes the specified project from the solution.

Public method

StartTransaction

Begins a transaction.

Public method

Synchronize

Overloaded.

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

Properties

 

Name

Description

Public property

Attributes

Gets a collection of all of the attributes for the object.

Public property

Classes

Gets a collection of classes for the object.

Public property

CodeElements

Overloaded.

Public property

Delegates

Gets a collection of delegates for the object.

Public property

DialogClasses

Gets a collection of dialog classes.

Public property

DTE

Overloaded.

Public property

Enums

Gets a collection of enumerations for the object.

Public property

Functions

Gets a collection of functions for the object.

Public property

IDLImports

Gets the collection of Import statements from the .idl file of the parent object.

Public property

IDLLibraries

Gets the collection of Library elements on the object.

Public property

Imports

Gets the collection of #import statements for the parent object.

Public property

Includes

Gets the collection of #include statements for the object.

Public property

Interfaces

Gets the collection of interfaces for the object.

Public property

IsCaseSensitive

Overloaded.

Public property

Language

Overloaded.

Public property

Macros

Gets the collection of macros (#define statements) for the object.

Public property

Maps

Gets the collection of maps for the object.

Public property

Namespaces

Gets the collection of namespaces for the object.

Public property

Parent

Overloaded.

Public property

Structs

Gets the collection of structure elements for the object.

Public property

Typedefs

Gets the collection of Typedef elements for the object.

Public property

Unions

Gets the collection of Union elements for the object.

Public property

Usings

Gets the collection of #using elements for the object.

Public property

Variables

Gets the collection of variables for the object.

Top

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace