CodeElement Class
A unit of code in a ProjectItem of the type defined by CodeElementKind.
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
Microsoft.VisualStudio.Tools.Applications.CodeFunction
Syntax
public class CodeElement
public ref class CodeElement
type CodeElement = class end
Public Class CodeElement
Properties
Name | Description | |
---|---|---|
FullName | Gets the fully qualified name of the CodeElement. |
|
Kind | Gets the kind of the CodeElement. |
|
Name | Gets the name of the CodeElement. |
Methods
Name | Description | |
---|---|---|
Activate() | Activates the parent ProjectItem in the IDE with the current CodeElement visible. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
Format() | Formats the CodeElement. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (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.