共用方式為


Microsoft.VisualStudio.VCCodeModel Namespace

Microsoft.VisualStudio.VCCodeModel contains the objects and members for Visual C++ Code Model.

Classes

vcCMConstants

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.

Interfaces

MFCDialogNumberVariableExtender

Provides access to the minimum and maximum range of a numeric-type variable in an MFC dialog box.

MFCDialogStringVariableExtender

Provides access to the maximum character range of a string-type variable in an MFC dialog box.

MFCDialogVariableExtender

Provides access to a variable code element in an existing MFC dialog box.

VCCodeAttribute

Provides access to an item attribute.

VCCodeBase

An object providing access to the base class list of the parent object.

VCCodeClass

An object providing access to any class element collected in a VCCodeModel object.

VCCodeDelegate

An object representing a delegate code element (declared with the __delegate keyword).

VCCodeElement

An object providing access to any code element within a source file.

VCCodeElements

A collection of objects (representing individual code elements) within one or more source files.

VCCodeEnum

An object representing an enumeration code element in the source code of a solution.

VCCodeEvent

An object representing an event code element (declared with the __event keyword).

VCCodeFunction

An object defining a function construct in a source file.

VCCodeIDLCoClass

An object defining a CoClass element in a .idl file.

VCCodeIDLImport

An object defining an import element in an .idl file.

VCCodeIDLImportLib

An object defining an importlib element in an .idl file.

VCCodeIDLLibrary

An object defining a library element in an .idl file.

VCCodeImport

An object representing a #import code element in the source code of a solution.

VCCodeInclude

An object representing a #include code element in the source code of a solution.

VCCodeInterface

An object representing either a standard .idl interface, a dispinterface code element, or a code element (modified by the __interface keyword) in the source code of a solution.

VCCodeMacro

An object representing a macro (#define statement) code element in the source code of a solution.

VCCodeMap

An object representing a map code element in the source code of a solution.

VCCodeMapEntry

An object defining a map entry construct in a source file.

VCCodeModel

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

VCCodeNamespace

An object representing a namespace element in the source code of a solution.

VCCodeParameter

An object representing a parameter of a function, property, and so on, in a source file.

VCCodeProperty

An object representing a property code element (declared with the __property keyword).

VCCodeReference

Not currently implemented.

VCCodeStruct

An object representing a structure code element in the source code of a solution.

VCCodeTypedef

An object representing a typedef code element in the source code of a solution.

VCCodeUnion

An object representing a union code element in the source code of a solution.

VCCodeUsing

An object representing a #using Directive (C++) code element in the source code of a solution.

VCCodeUsingAlias

An object representing an alias code element in the source code of a solution.

VCCodeVariable

An object representing a variable construct in a source file.

VCDesignElement

Microsoft internal use only.

VCDesignElements

Microsoft internal use only.

VCDialogExtender

An object providing access to an existing dialog box class in a solution.

VCFileCodeModel

An object representing the code elements in a source file.

VCLanguageManager

An object used to validate various code elements of a C++ source file.

Enums

vcCMElement

Provides values that define the kind of a VCCodeElement.

vcCMFunction
vcCMNameValidationOption

Provides name validation options.

vcCMPart
vcCMTypeRef
vsCMAddPosition

Determines the position of the new code element in relation to the parent object.

vsCMMFCDialogVariableIDType

Used by the IDType property.

vsCMSort

Used by the Sort(vsCMSort) method.

vsCMValidateFileExtension

Used by the ValidateFile method.

vsCMWhere

Used by the StartPointOf, EndPointOf, and Location properties.