Compartilhar via


vcCMConstants Class

The Visual C++ Code Model defines a collection of GUIDs for use in implementing automation extenders. An automation extender allows you to extend the properties, which are determined by your needs and which are automated by the Visual C++ Code Model. For more information on automation extenders and support for them, see Implementing and Using Automation Extenders.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.VCCodeModel.vcCMConstants

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'Declaration
Public NotInheritable Class vcCMConstants
public static class vcCMConstants
public ref class vcCMConstants abstract sealed
[<AbstractClass>]
[<Sealed>]
type vcCMConstants =  class end
public final class vcCMConstants

The vcCMConstants type exposes the following members.

Fields

  Name Description
Public fieldStatic member vcCMCATIDAttribute Represents a code attribute.
Public fieldStatic member vcCMCATIDClass Represents a code class.
Public fieldStatic member vcCMCATIDDelegate Represents a code delegate.
Public fieldStatic member vcCMCATIDEnum Represents a code enumeration.
Public fieldStatic member vcCMCATIDEvent Represents a code event.
Public fieldStatic member vcCMCATIDFunction Represents a code function.
Public fieldStatic member vcCMCATIDIDLCoClass Represents a code coclass.
Public fieldStatic member vcCMCATIDIDLImport Represents a code import.
Public fieldStatic member vcCMCATIDIDLImportLib Represents a code import library.
Public fieldStatic member vcCMCATIDIDLLibrary Represents a code library.
Public fieldStatic member vcCMCATIDImportStmt Represents a code import statement.
Public fieldStatic member vcCMCATIDIncludeStmt Represents a code include (C++) statement.
Public fieldStatic member vcCMCATIDInterface Represents a code interface.
Public fieldStatic member vcCMCATIDMacro Represents a code macro.
Public fieldStatic member vcCMCATIDMap Represents a code map.
Public fieldStatic member vcCMCATIDMapEntry Represents an entry in a code map.
Public fieldStatic member vcCMCATIDNamespace Represents a code namespace.
Public fieldStatic member vcCMCATIDParameter Represents a code parameter.
Public fieldStatic member vcCMCATIDProperty Represents a code property.
Public fieldStatic member vcCMCATIDStruct Represents a code struct.
Public fieldStatic member vcCMCATIDTypeDef Represents a code type definition (typedef).
Public fieldStatic member vcCMCATIDUnion Represents a code union.
Public fieldStatic member vcCMCATIDUsingAlias
Public fieldStatic member vcCMCATIDUsingStmt Represents a code using (C# Reference) statement.
Public fieldStatic member vcCMCATIDVariable Represents a code variable.
Public fieldStatic member vcCMCATIDVCBase Represents a code Visual C++ base class.
Public fieldStatic member vcCMMFCDialogNumberVariableExtender Represents an Extender for number variables in an MFC dialog box.
Public fieldStatic member vcCMMFCDialogStringVariableExtender Represents an Extender for string variables in an MFC dialog box.
Public fieldStatic member vcCMMFCDialogVariableExtender Represents an Extender for variables in an MFC dialog box.
Public fieldStatic member vcCMVCDialogExtender Represents an Extender for an MFC dialog box.

Top

Remarks

The following constant values for Visual C++ Code Model objects can be used when registering 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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.VCCodeModel Namespace