Export (0) Print
Expand All

VCCodeClass Object

Visual Studio .NET 2003

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

[Visual Basic .NET]
Public Interface VCCodeClass
   Inherits IDispatch
[Visual Basic 6]
Class VCCodeClass
[C++]
interface VCCodeClass : IDispatch
[C#]
public interface VCCodeClass : IDispatch
[JScript .NET]
public interface VCCodeClass extends IDispatch

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.

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

Requirements

Namespace: Microsoft.VisualStudio.VCCodeModel

File: vcpkg.dll

Example

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

See Samples for Code Model Extensibility for information on how to compile and run this sample.

See Also

VCCodeClass Object Properties, Methods, and Events | Visual C++ Extensibility Object Model

Show:
© 2014 Microsoft