AnnotationStore 類別

定義

在衍生類別中被覆寫時,表示用來寫入和讀取使用者註解的資料存放區。

public ref class AnnotationStore abstract : IDisposable
public abstract class AnnotationStore : IDisposable
type AnnotationStore = class
    interface IDisposable
Public MustInherit Class AnnotationStore
Implements IDisposable
繼承
AnnotationStore
衍生
實作

建構函式

AnnotationStore()

初始化 AnnotationStore 類別的新執行個體。

屬性

AutoFlush

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

IsDisposed

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

SyncRoot

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

方法

AddAnnotation(Annotation)

將新的 Annotation 加入存放區中。

DeleteAnnotation(Guid)

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

Dispose()

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

Dispose(Boolean)

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

Equals(Object)

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

(繼承來源 Object)
Finalize()

確保終究會為這個存放區呼叫 Dispose(Boolean)

Flush()

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

GetAnnotation(Guid)

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

GetAnnotations()

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

GetAnnotations(ContentLocator)

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

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
OnAnchorChanged(AnnotationResourceChangedEventArgs)

引發 AnchorChanged 事件。

OnAuthorChanged(AnnotationAuthorChangedEventArgs)

引發 AuthorChanged 事件。

OnCargoChanged(AnnotationResourceChangedEventArgs)

引發 CargoChanged 事件。

OnStoreContentChanged(StoreContentChangedEventArgs)

引發 StoreContentChanged 事件。

ToString()

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

(繼承來源 Object)

事件

AnchorChanged

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

AuthorChanged

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

CargoChanged

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

StoreContentChanged

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

適用於