XmlStreamStore Class
Represents an XML data store for writing and reading user annotations.
Assembly: PresentationFramework (in PresentationFramework.dll)
System.Windows.Annotations.Storage::AnnotationStore
System.Windows.Annotations.Storage::XmlStreamStore
| Name | Description | |
|---|---|---|
![]() | XmlStreamStore(Stream^) | Initializes a new instance of the XmlStreamStore class with a specified I/O Stream. |
![]() | XmlStreamStore(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. |
| Name | Description | |
|---|---|---|
![]() | AutoFlush | 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.) |
![]() | IgnoredNamespaces | Gets a list of the namespaces that were ignored when the XML stream was loaded. |
![]() ![]() | WellKnownNamespaces | Gets a list of all namespaces that are predefined by the Annotations Framework. |
| Name | Description | |
|---|---|---|
![]() | AddAnnotation(Annotation^) | Adds a new Annotation to the store.(Overrides AnnotationStore::AddAnnotation(Annotation^).) |
![]() | DeleteAnnotation(Guid) | Deletes the annotation with the specified Id from the store. (Overrides AnnotationStore::DeleteAnnotation(Guid).) |
![]() | Dispose() | Releases all managed and unmanaged resources used by the store.(Inherited from AnnotationStore.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Flush() | Forces any annotation data retained in internal buffers to be written to the underlying storage device.(Overrides AnnotationStore::Flush().) |
![]() | GetAnnotation(Guid) | Returns the annotation with the specified Id from the store.(Overrides AnnotationStore::GetAnnotation(Guid).) |
![]() | GetAnnotations() | Returns a list of all the annotations in the store.(Overrides AnnotationStore::GetAnnotations().) |
![]() | GetAnnotations(ContentLocator^) | Returns a list of annotations that have Anchors with locators that begin with a matching ContentLocatorPart sequence.(Overrides AnnotationStore::GetAnnotations(ContentLocator^).) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() ![]() | GetWellKnownCompatibleNamespaces(Uri^) | Returns a list of namespaces that are compatible as an input namespace. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AnchorChanged | Occurs when an anchor on any Annotation in the store changes.(Inherited from AnnotationStore.) |
![]() | AuthorChanged | Occurs when an author on any Annotation in the store changes.(Inherited from AnnotationStore.) |
![]() | CargoChanged | Occurs when a cargo on any Annotation in the store changes.(Inherited from AnnotationStore.) |
![]() | StoreContentChanged | Occurs when an Annotation is added to or deleted from the store.(Inherited from AnnotationStore.) |
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.



