Freigeben über


VCCodeClass Interface

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

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

Syntax

<GuidAttribute("17730D46-271F-11D7-8BF6-00B0D03DAA06")> _
Public Interface VCCodeClass

Dim instance As VCCodeClass
[GuidAttribute("17730D46-271F-11D7-8BF6-00B0D03DAA06")]
public interface VCCodeClass
[GuidAttribute(L"17730D46-271F-11D7-8BF6-00B0D03DAA06")]
public interface class VCCodeClass
public interface VCCodeClass

Remarks

The VCCodeClass object provides code model functionality to existing Visual C++ IDE solutions at the class level. Primarily, this object is used to modify any class element accessible within a project.

Hinweis

A large part of the functionality of this object is provided by the Visual Studio CodeClass object. For more information, see CodeClass object.

See How to: Compile Example Code for Visual C++ Code Model Extensibility for information on how to compile and run this sample.

Examples

Sub GetClass()
    Dim vcCM as VCCodeModel
    Dim vcClass as VCCodeClass
    vcCM = DTE.Solution.Item(1).CodeModel
    vcClass = vcCM.Classes.Find("CAboutDlg")
End Sub

See Also

Reference

VCCodeClass Members

Microsoft.VisualStudio.VCCodeModel Namespace