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 | |
---|---|---|
Body | Gets or sets the text of the CodeClass body. |
|
FullName | Gets the fully qualified name of the CodeElement.(Inherited from CodeElement.) |
|
Kind | Gets the kind of the CodeElement.(Inherited from CodeElement.) |
|
Name | Gets the name of the CodeElement.(Inherited from CodeElement.) |
Methods
Name | Description | |
---|---|---|
Activate() | Activates the parent ProjectItem in the IDE with the current CodeElement visible.(Inherited from CodeElement.) |
|
AppendText(String) | Appends text to the end of the CodeClass body. |
|
Equals(Object) | (Inherited from Object.) |
|
Format() | Formats the CodeElement.(Inherited from CodeElement.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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.