Partager via


Code Model Constants and Automation Extenders

Visual Studio add-ins are deprecated in Visual Studio 2013. You should upgrade your add-ins to VSPackage extensions. For more information about upgrading, see FAQ: Converting Add-ins to VSPackage Extensions.

The Visual C++ Code Model defines a collection of GUIDs for use in implementing automation extenders. An automation extender lets you extend the properties that are automated by the Visual C++ Code Model. For more information, see Implementing and Using Automation Extenders.

The following constant values for Visual C++ Code Model objects can be used when you register your custom automation extender.

Constant Value

Corresponding Code Model Object

vcCMCATIDClass

VCCodeClass

vcCMCATIDFunction

VCCodeFunction

vcCMCATIDVariable

VCCodeVariable

vcCMCATIDNamespace

VCCodeNamespace

vcCMCATIDParameter

VCCodeParameter

vcCMCATIDAttribute

VCCodeAttribute

vcCMCATIDInterface

VCCodeInterface

vcCMCATIDEnum

VCCodeEnum

vcCMCATIDStruct

VCCodeStruct

vcCMCATIDUnion

VCCodeUnion

vcCMCATIDTypeDef

VCCodeTypedef

vcCMCATIDIncludeStmt

VCCodeInclude

vcCMCATIDImportStmt

VCCodeImport

vcCMCATIDUsingStmt

VCCodeUsing

vcCMCATIDMacro

VCCodeMacro

vcCMCATIDMap

VCCodeMap

vcCMCATIDIDLImport

VCCodeIDLImport

vcCMCATIDIDLImportLib

VCCodeIDLImportLib

vcCMCATIDIDLCoClass

VCCodeIDLCoClass

vcCMCATIDIDLLibrary

VCCodeIDLLibrary

vcCMCATIDMapEntry

VCCodeMapEntry

vcCMCATIDVCBase

VCCodeBase

vcCMCATIDDelegate

VCCodeDelegate

vcCMCATIDProperty

VCCodeProperty

vcCMCATIDEvent

VCCodeEvent

See Also

Reference

IExtenderProvider

Other Resources

Visual C++ Extensibility Object Model