Click or drag to resize

CodeAnnotation Class

Represents a 'listed' code Annotation and its location (Project and CodeUnit). Listed annotations include all Messages (error, warning, suggestion, etc) and also special Comments.
Inheritance Hierarchy
SystemObject
  Nova.CodeDOMCodeAnnotation

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public class CodeAnnotation

The CodeAnnotation type exposes the following members.

Constructors
  NameDescription
Public methodCodeAnnotation
Create a CodeAnnotation.
Top
Properties
  NameDescription
Public propertyAnnotation
The associated Annotation.
Public propertyCategory
The descriptive category of the code object.
Public propertyCodeUnit
The associated CodeUnit.
Public propertyLineCol
The associated line number and column in "9999/99" format (if any, otherwise empty string).
Public propertyProject
The associated Project.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Format the CodeAnnotation as a string.
(Overrides ObjectToString.)
Top
Remarks
CodeAnnotation objects are maintained at the Solution level in order to provide a single collection of all messages for the entire solution (for display in an output window).
See Also