AnnotationStore Class

 

When overridden in a derived class, represents a data store for writing and reading user annotations.

Namespace:   System.Windows.Annotations.Storage
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.Windows.Annotations.Storage.AnnotationStore
    System.Windows.Annotations.Storage.XmlStreamStore

public abstract class AnnotationStore : IDisposable

NameDescription
System_CAPS_protmethodAnnotationStore()

Initializes a new instance of the AnnotationStore class.

NameDescription
System_CAPS_pubpropertyAutoFlush

Gets or sets a value that indicates whether data in annotation buffers is to be written immediately to the physical data store.

System_CAPS_protpropertyIsDisposed

Gets a value that indicates whether Dispose has been called.

System_CAPS_protpropertySyncRoot

Gets the object to use as a synchronization lock for AnnotationStore critical sections.

NameDescription
System_CAPS_pubmethodAddAnnotation(Annotation)

Adds a new Annotation to the store.

System_CAPS_pubmethodDeleteAnnotation(Guid)

Deletes the annotation with the specified Id from the store.

System_CAPS_pubmethodDispose()

Releases all managed and unmanaged resources used by the store.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the store and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Guarantees that Dispose will eventually be called for this store. (Overrides Object.Finalize().)

System_CAPS_pubmethodFlush()

Forces any annotation data retained in internal buffers to be written to the underlying storage device.

System_CAPS_pubmethodGetAnnotation(Guid)

Returns the annotation with the specified Id from the store.

System_CAPS_pubmethodGetAnnotations()

Returns a list of all the annotations in the store.

System_CAPS_pubmethodGetAnnotations(ContentLocator)

Returns a list of annotations that have Anchors with locators that begin with a matching ContentLocatorPart sequence.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnAnchorChanged(AnnotationResourceChangedEventArgs)

Raises the AnchorChanged event.

System_CAPS_protmethodOnAuthorChanged(AnnotationAuthorChangedEventArgs)

Raises the AuthorChanged event.

System_CAPS_protmethodOnCargoChanged(AnnotationResourceChangedEventArgs)

Raises the CargoChanged event.

System_CAPS_protmethodOnStoreContentChanged(StoreContentChangedEventArgs)

Raises the StoreContentChanged event.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubeventAnchorChanged

Occurs when an anchor on any Annotation in the store changes.

System_CAPS_pubeventAuthorChanged

Occurs when an author on any Annotation in the store changes.

System_CAPS_pubeventCargoChanged

Occurs when a cargo on any Annotation in the store changes.

System_CAPS_pubeventStoreContentChanged

Occurs when an Annotation is added to or deleted from the store.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: