語言

AnnotationResource 類別

定義

代表一個內容錨點或貨物資源。Annotation

public ref class AnnotationResource sealed : System::ComponentModel::INotifyPropertyChanged, System::Xml::Serialization::IXmlSerializable
public sealed class AnnotationResource : System.ComponentModel.INotifyPropertyChanged, System.Xml.Serialization.IXmlSerializable
type AnnotationResource = class
    interface IXmlSerializable
    interface INotifyPropertyChanged
type AnnotationResource = class
    interface INotifyPropertyChanged
    interface IXmlSerializable
Public NotInheritable Class AnnotationResource
Implements INotifyPropertyChanged, IXmlSerializable
繼承
AnnotationResource
實作

備註

AnnotationResource 元素用於建模 Anchors (被註解的資料)以及 Cargos (使用者提供的資料,例如文字筆記)在 Annotation。

透過 的ContentLocators使用AnnotationResource,可以指稱內容、直接包含內容,或兩者兼具。

建構函式

名稱 Description
AnnotationResource()

此建構器支援 Windows Presentation Foundation 基礎架構,並非直接從您的程式碼中使用。

AnnotationResource(Guid)

此建構器支援 Windows Presentation Foundation 基礎架構,並非直接從您的程式碼中使用。

AnnotationResource(String)

使用指定的名稱,初始化 AnnotationResource 類別的新實例。

屬性

名稱 Description
ContentLocators

取得此資源中包含的元素集合 ContentLocatorBase 。

Contents

取得定義此資源內容的物件集合 XmlElement 。

Id

取得這個資源的 GUID。

Name

為此 AnnotationResource命名或命名。

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetSchema()

一律傳回 null。 詳見註 解結構結構 。

GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ReadXml(XmlReader)

從指定的 AnnotationResource中XmlReader反序列化 。

ToString()

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

(繼承來源 Object)
WriteXml(XmlWriter)

將 序列 AnnotationResource 化為指定的 XmlWriter。

明確介面實作

名稱 Description
INotifyPropertyChanged.PropertyChanged

此類型或成員支援 Windows Presentation Foundation(WPF)基礎架構,並非直接從您的程式碼中使用。

適用於