Annotation Annotation Class

Definition

An arbitrary piece of metadata that can be stored on an object that implements IAnnotatable.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class Annotation : IAnnotation
Public Class Annotation
    Implements IAnnotation
Inheritance
System.ObjectSystem.Object
AnnotationAnnotation
Implements

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

Annotation(String, Object) Annotation(String, Object)

Initializes a new instance of the Annotation class.

public Annotation(string name, object value)
Public Sub New(name As String, value As Object)
Parameters
name
System.String System.String

The key of this annotation.

value
System.Object System.Object

The value assigned to this annotation.

Properties

Name Name

Gets the key of this annotation.

public virtual string Name { get; }
Public Overridable ReadOnly Property Name As String
Value
System.String System.String

Value Value

Gets the value assigned to this annotation.

public virtual object Value { get; }
Public Overridable ReadOnly Property Value As Object
Value
System.Object System.Object