AnnotationStore AnnotationStore AnnotationStore AnnotationStore Class

Definition

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

public ref class AnnotationStore abstract : IDisposable
public abstract class AnnotationStore : IDisposable
type AnnotationStore = class
    interface IDisposable
Public MustInherit Class AnnotationStore
Implements IDisposable
Inheritance
AnnotationStoreAnnotationStoreAnnotationStoreAnnotationStore
Derived
Implements

Constructors

AnnotationStore() AnnotationStore() AnnotationStore() AnnotationStore()

Initializes a new instance of the AnnotationStore class.

Properties

AutoFlush AutoFlush AutoFlush AutoFlush

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

IsDisposed IsDisposed IsDisposed IsDisposed

Gets a value that indicates whether Dispose has been called.

SyncRoot SyncRoot SyncRoot SyncRoot

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

Methods

AddAnnotation(Annotation) AddAnnotation(Annotation) AddAnnotation(Annotation) AddAnnotation(Annotation)

Adds a new Annotation to the store.

DeleteAnnotation(Guid) DeleteAnnotation(Guid) DeleteAnnotation(Guid) DeleteAnnotation(Guid)

Deletes the annotation with the specified Id from the store.

Dispose() Dispose() Dispose() Dispose()

Releases all managed and unmanaged resources used by the store.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Guarantees that Dispose(Boolean) will eventually be called for this store.

Flush() Flush() Flush() Flush()

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

GetAnnotation(Guid) GetAnnotation(Guid) GetAnnotation(Guid) GetAnnotation(Guid)

Returns the annotation with the specified Id from the store.

GetAnnotations() GetAnnotations() GetAnnotations() GetAnnotations()

Returns a list of all the annotations in the store.

GetAnnotations(ContentLocator) GetAnnotations(ContentLocator) GetAnnotations(ContentLocator) GetAnnotations(ContentLocator)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAnchorChanged(AnnotationResourceChangedEventArgs) OnAnchorChanged(AnnotationResourceChangedEventArgs) OnAnchorChanged(AnnotationResourceChangedEventArgs) OnAnchorChanged(AnnotationResourceChangedEventArgs)

Raises the AnchorChanged event.

OnAuthorChanged(AnnotationAuthorChangedEventArgs) OnAuthorChanged(AnnotationAuthorChangedEventArgs) OnAuthorChanged(AnnotationAuthorChangedEventArgs) OnAuthorChanged(AnnotationAuthorChangedEventArgs)

Raises the AuthorChanged event.

OnCargoChanged(AnnotationResourceChangedEventArgs) OnCargoChanged(AnnotationResourceChangedEventArgs) OnCargoChanged(AnnotationResourceChangedEventArgs) OnCargoChanged(AnnotationResourceChangedEventArgs)

Raises the CargoChanged event.

OnStoreContentChanged(StoreContentChangedEventArgs) OnStoreContentChanged(StoreContentChangedEventArgs) OnStoreContentChanged(StoreContentChangedEventArgs) OnStoreContentChanged(StoreContentChangedEventArgs)

Raises the StoreContentChanged event.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

AnchorChanged AnchorChanged AnchorChanged AnchorChanged

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

AuthorChanged AuthorChanged AuthorChanged AuthorChanged

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

CargoChanged CargoChanged CargoChanged CargoChanged

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

StoreContentChanged StoreContentChanged StoreContentChanged StoreContentChanged

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

Applies to