VCCodeClass - интерфейс
An object providing access to any class element collected in a VCCodeModel object.
Пространство имен: Microsoft.VisualStudio.VCCodeModel
Сборка: Microsoft.VisualStudio.VCCodeModel (в Microsoft.VisualStudio.VCCodeModel.dll)
Синтаксис
'Декларация
<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
Заметки
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.
Примечание. |
---|
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.
Примеры
Sub GetClass()
Dim vcCM as VCCodeModel
Dim vcClass as VCCodeClass
vcCM = DTE.Solution.Item(1).CodeModel
vcClass = vcCM.Classes.Find("CAboutDlg")
End Sub