Represents a user annotation in the Microsoft Annotations Framework.
public ref class Annotation sealed : System::Xml::Serialization::IXmlSerializable
public sealed class Annotation : System.Xml.Serialization.IXmlSerializable
type Annotation = class interface IXmlSerializable
Public NotInheritable Class Annotation Implements IXmlSerializable
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)).
This constructor supports the Windows Presentation Foundation infrastructure and is not intended to be used directly from your code.
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.
Gets a collection of zero or more AnnotationResource anchor elements that define the data selection(s) being annotated.
Gets the XmlQualifiedName of the annotation type.
Gets a collection of zero or more author strings that identify who created the Annotation.
Gets a collection of zero or more AnnotationResource cargo elements that contain data for the annotation.
Gets the date and the time that the annotation was created.
Gets the GUID of the Annotation.
Gets the date and the time that the annotation was last modified.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)
Serializes the annotation to a specified XmlWriter.
Occurs when an anchor is added, removed, or modified in the list of annotation Anchors.
Occurs when an author is added, removed, or modified in the list of annotation Authors.
Occurs when a cargo is added, removed, or modified in the list of annotation Cargos.