AnnotationResource 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表 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文字附註) 。
透過使用 ContentLocatorsAnnotationResource 可參考內容、直接包含內容或兩者。
建構函式
| AnnotationResource() |
此建構函式支援 Windows Presentation Foundation 基礎結構,但並不適合直接透過您的程式碼使用。 |
| AnnotationResource(Guid) |
此建構函式支援 Windows Presentation Foundation 基礎結構,但並不適合直接透過您的程式碼使用。 |
| AnnotationResource(String) |
使用指定的名稱,初始化 AnnotationResource 類別的新執行個體。 |
屬性
| ContentLocators |
取得這個資源中包含之 ContentLocatorBase 項目的集合。 |
| Contents |
取得定義這個資源內容的 XmlElement 物件集合。 |
| Id |
取得此資源的 GUID。 |
| Name |
取得或設定這個 AnnotationResource 的名稱。 |
方法
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
| GetSchema() |
一律傳回 |
| GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
| ReadXml(XmlReader) |
從指定的 XmlReader 還原序列化 AnnotationResource。 |
| ToString() |
傳回代表目前物件的字串。 (繼承來源 Object) |
| WriteXml(XmlWriter) |
將 AnnotationResource 序列化為指定的 XmlWriter。 |
明確介面實作
| INotifyPropertyChanged.PropertyChanged |
這個類型或成員支援 Windows Presentation Foundation (WPF) 基礎結構,而且不能從程式碼直接使用。 |