Share via


CodeClass Class

 

A class in a ProjectItem.

Namespace:   Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Applications.CodeElement
    Microsoft.VisualStudio.Tools.Applications.CodeClass

Syntax

public sealed class CodeClass : CodeElement
public ref class CodeClass sealed : CodeElement
[<Sealed>]
type CodeClass = 
    class
        inherit CodeElement
    end
Public NotInheritable Class CodeClass
    Inherits CodeElement

Properties

Name Description
System_CAPS_pubproperty Body

Gets or sets the text of the CodeClass body.

System_CAPS_pubproperty FullName

Gets the fully qualified name of the CodeElement.(Inherited from CodeElement.)

System_CAPS_pubproperty Kind

Gets the kind of the CodeElement.(Inherited from CodeElement.)

System_CAPS_pubproperty Name

Gets the name of the CodeElement.(Inherited from CodeElement.)

Methods

Name Description
System_CAPS_pubmethod Activate()

Activates the parent ProjectItem in the IDE with the current CodeElement visible.(Inherited from CodeElement.)

System_CAPS_pubmethod AppendText(String)

Appends text to the end of the CodeClass body.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Format()

Formats the CodeElement.(Inherited from CodeElement.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.VisualStudio.Tools.Applications Namespace

Return to top