XmlStreamStore 類別

定義

表示用於寫入和讀取使用者附註的 XML 資料存放區。

public ref class XmlStreamStore sealed : System::Windows::Annotations::Storage::AnnotationStore
public sealed class XmlStreamStore : System.Windows.Annotations.Storage.AnnotationStore
type XmlStreamStore = class
    inherit AnnotationStore
Public NotInheritable Class XmlStreamStore
Inherits AnnotationStore
繼承
XmlStreamStore

建構函式

XmlStreamStore(Stream)

使用指定的 I/O XmlStreamStore 來初始化 Stream 類別的新執行個體。

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

使用指定的 I/O XmlStreamStore 和已知相容之命名空間 (Namespace) 的字典初始化 Stream 類別的新執行個體。

屬性

AutoFlush

取得或設定值,指出是否要將註解緩衝區中的資料立即寫入實體資料存放區。

IgnoredNamespaces

取得已載入 XML 資料流時忽略的命名空間清單。

IsDisposed

取得值,指出是否已經呼叫 Dispose

(繼承來源 AnnotationStore)
SyncRoot

取得要做為 AnnotationStore 關鍵區段之同步鎖定的物件。

(繼承來源 AnnotationStore)
WellKnownNamespaces

取得 Annotations Framework 預先定義之所有命名空間的清單。

方法

AddAnnotation(Annotation)

將新的 Annotation 加入存放區中。

DeleteAnnotation(Guid)

將含有指定之 Id 的註解從存放區中刪除。

Dispose()

釋放存放區使用的所有 Managed 和 Unmanaged 資源。

(繼承來源 AnnotationStore)
Dispose(Boolean)

釋放存放區所使用的 Unmanaged 資源,並可選擇釋放 Managed 資源。

(繼承來源 AnnotationStore)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Flush()

強制將保留在內部緩衝區中的任何註解資料,寫入基礎儲存裝置。

GetAnnotation(Guid)

從存放區傳回含有指定之 Id 的註解。

GetAnnotations()

傳回存放區中的所有註解清單。

GetAnnotations(ContentLocator)

傳回註解清單,這些註解擁有的 Anchors 具有從相符 ContentLocatorPart 順序起始的定位器。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
GetWellKnownCompatibleNamespaces(Uri)

傳回與輸入命名空間相容的命名空間清單。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
OnAnchorChanged(AnnotationResourceChangedEventArgs)

引發 AnchorChanged 事件。

(繼承來源 AnnotationStore)
OnAuthorChanged(AnnotationAuthorChangedEventArgs)

引發 AuthorChanged 事件。

(繼承來源 AnnotationStore)
OnCargoChanged(AnnotationResourceChangedEventArgs)

引發 CargoChanged 事件。

(繼承來源 AnnotationStore)
OnStoreContentChanged(StoreContentChangedEventArgs)

引發 StoreContentChanged 事件。

(繼承來源 AnnotationStore)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

事件

AnchorChanged

發生於存放區中任何 Annotation 上的錨點變更時。

(繼承來源 AnnotationStore)
AuthorChanged

發生於存放區中任何 Annotation 上的作者變更時。

(繼承來源 AnnotationStore)
CargoChanged

發生於存放區中任何 Annotation 上的貨物變更時。

(繼承來源 AnnotationStore)
StoreContentChanged

發生於在存放區中加入或刪除 Annotation 時。

(繼承來源 AnnotationStore)

適用於

另請參閱