Annotation Class
Represents a user annotation in the Microsoft Annotations Framework.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: Not mapped to an xmlns.
The Annotation type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Annotation() | This constructor supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
![]() | Annotation(XmlQualifiedName) | Initializes a new instance of the Annotation class that has a specified type name and namespace. |
![]() | Annotation(XmlQualifiedName, Guid, DateTime, DateTime) | This constructor supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
| Name | Description | |
|---|---|---|
![]() | Anchors | Gets a collection of zero or more AnnotationResource anchor elements that define the data selection(s) being annotated. |
![]() | AnnotationType | Gets the XmlQualifiedName of the annotation type. |
![]() | Authors | Gets a collection of zero or more author strings that identify who created the Annotation. |
![]() | Cargos | Gets a collection of zero or more AnnotationResource cargo elements that contain data for the annotation. |
![]() | CreationTime | Gets the date and the time that the annotation was created. |
![]() | Id | Gets the globally unique identifier (GUID) of the Annotation. |
![]() | LastModificationTime | Gets the date and the time that the annotation was last modified. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetSchema | Always returns nullptr. See Annotations Schema for schema details. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReadXml | Deserializes the Annotation from a specified XmlReader. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WriteXml | Serializes the annotation to a specified XmlWriter. |
| Name | Description | |
|---|---|---|
![]() | AnchorChanged | Occurs when an anchor is added, removed, or modified in the list of annotation Anchors. |
![]() | AuthorChanged | Occurs when an author is added, removed, or modified in the list of annotation Authors. |
![]() | CargoChanged | Occurs when a cargo is added, removed, or modified in the list of annotation Cargos. |
Annotation represents a single annotation with all associated anchoring and content data. An annotation consists of the following main elements.
Zero, one, or more Anchors that identify what is being annotated.
Zero, one, or more Cargos that contain the user data for the annotation.
Zero, one, or more Authors that define who created the annotation.
A CreationTime that specifies the date and time when the annotation was created.
A LastModificationTime that specifies when the annotation was last updated.
A unique annotation Id (a globally unique identifier (GUID)).
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
