Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AnnotationStore Class

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

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

Namespace:  System.Windows.Annotations.Storage
Assembly:  PresentationFramework (in PresentationFramework.dll)
public abstract class AnnotationStore : IDisposable

The AnnotationStore type exposes the following members.

  NameDescription
Protected methodAnnotationStoreInitializes a new instance of the AnnotationStore class.
Top
  NameDescription
Public propertyAutoFlushGets or sets a value that indicates whether data in annotation buffers is to be written immediately to the physical data store.
Protected propertyIsDisposedGets a value that indicates whether Dispose has been called.
Protected propertySyncRootGets the object to use as a synchronization lock for AnnotationStore critical sections.
Top
  NameDescription
Public methodAddAnnotationAdds a new Annotation to the store.
Public methodDeleteAnnotationDeletes the annotation with the specified Id from the store.
Public methodDispose()Releases all managed and unmanaged resources used by the store.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the store and optionally releases the managed resources.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeGuarantees that Dispose will eventually be called for this store. (Overrides Object.Finalize().)
Public methodFlushForces any annotation data retained in internal buffers to be written to the underlying storage device.
Public methodGetAnnotationReturns the annotation with the specified Id from the store.
Public methodGetAnnotations()Returns a list of all the annotations in the store.
Public methodGetAnnotations(ContentLocator)Returns a list of annotations that have Anchors with locators that begin with a matching ContentLocatorPart sequence.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnAnchorChangedRaises the AnchorChanged event.
Protected methodOnAuthorChangedRaises the AuthorChanged event.
Protected methodOnCargoChangedRaises the CargoChanged event.
Protected methodOnStoreContentChangedRaises the StoreContentChanged event.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Public eventAnchorChangedOccurs when an anchor on any Annotation in the store changes.
Public eventAuthorChangedOccurs when an author on any Annotation in the store changes.
Public eventCargoChangedOccurs when a cargo on any Annotation in the store changes.
Public eventStoreContentChangedOccurs when an Annotation is added to or deleted from the store.
Top

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.