XmlStreamStore Class

 

Represents an XML 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 sealed class XmlStreamStore : AnnotationStore

NameDescription
System_CAPS_pubmethodXmlStreamStore(Stream)

Initializes a new instance of the XmlStreamStore class with a specified I/O Stream.

System_CAPS_pubmethodXmlStreamStore(Stream, IDictionary<Uri, IList<Uri>>)

Initializes a new instance of the XmlStreamStore class with a specified I/O Stream and dictionary of known compatible namespaces.

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.(Overrides AnnotationStore.AutoFlush.)

System_CAPS_pubpropertyIgnoredNamespaces

Gets a list of the namespaces that were ignored when the XML stream was loaded.

System_CAPS_pubpropertySystem_CAPS_staticWellKnownNamespaces

Gets a list of all namespaces that are predefined by the Annotations Framework.

NameDescription
System_CAPS_pubmethodAddAnnotation(Annotation)

Adds a new Annotation to the store.(Overrides AnnotationStore.AddAnnotation(Annotation).)

System_CAPS_pubmethodDeleteAnnotation(Guid)

Deletes the annotation with the specified Id from the store. (Overrides AnnotationStore.DeleteAnnotation(Guid).)

System_CAPS_pubmethodDispose()

Releases all managed and unmanaged resources used by the store.(Inherited from AnnotationStore.)

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodFlush()

Forces any annotation data retained in internal buffers to be written to the underlying storage device.(Overrides AnnotationStore.Flush().)

System_CAPS_pubmethodGetAnnotation(Guid)

Returns the annotation with the specified Id from the store.(Overrides AnnotationStore.GetAnnotation(Guid).)

System_CAPS_pubmethodGetAnnotations()

Returns a list of all the annotations in the store.(Overrides AnnotationStore.GetAnnotations().)

System_CAPS_pubmethodGetAnnotations(ContentLocator)

Returns a list of annotations that have Anchors with locators that begin with a matching ContentLocatorPart sequence.(Overrides AnnotationStore.GetAnnotations(ContentLocator).)

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_pubmethodSystem_CAPS_staticGetWellKnownCompatibleNamespaces(Uri)

Returns a list of namespaces that are compatible as an input namespace.

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.(Inherited from AnnotationStore.)

System_CAPS_pubeventAuthorChanged

Occurs when an author on any Annotation in the store changes.(Inherited from AnnotationStore.)

System_CAPS_pubeventCargoChanged

Occurs when a cargo on any Annotation in the store changes.(Inherited from AnnotationStore.)

System_CAPS_pubeventStoreContentChanged

Occurs when an Annotation is added to or deleted from the store.(Inherited from AnnotationStore.)

.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: