AnnotationResource AnnotationResource AnnotationResource AnnotationResource Class

Definition

Represents a content anchor or cargo resource for an 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
Public NotInheritable Class AnnotationResource
Implements INotifyPropertyChanged, IXmlSerializable
Inheritance
AnnotationResourceAnnotationResourceAnnotationResourceAnnotationResource
Implements

Remarks

AnnotationResource elements are used to model Anchors (the data that is being annotated) and Cargos (the data provided by the user such as a text note) in an Annotation.

Through the use of ContentLocators an AnnotationResource can refer to the content, directly contain the content, or both.

Constructors

AnnotationResource() AnnotationResource() AnnotationResource() AnnotationResource()

This constructor supports the Windows Presentation Foundation infrastructure and is not intended to be used directly from your code.

AnnotationResource(Guid) AnnotationResource(Guid) AnnotationResource(Guid) AnnotationResource(Guid)

This constructor supports the Windows Presentation Foundation infrastructure and is not intended to be used directly from your code.

AnnotationResource(String) AnnotationResource(String) AnnotationResource(String) AnnotationResource(String)

Initializes a new instance of the AnnotationResource class with a specified name.

Properties

ContentLocators ContentLocators ContentLocators ContentLocators

Gets the collection of ContentLocatorBase elements contained in this resource.

Contents Contents Contents Contents

Gets a collection of the XmlElement objects that define the content of this resource.

Id Id Id Id

Gets the GUID of this resource.

Name Name Name Name

Gets or sets a name for this AnnotationResource.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSchema() GetSchema() GetSchema() GetSchema()

Always returns null. See Annotations Schema for schema details.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadXml(XmlReader) ReadXml(XmlReader) ReadXml(XmlReader) ReadXml(XmlReader)

Deserializes the AnnotationResource from a specified XmlReader.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteXml(XmlWriter) WriteXml(XmlWriter) WriteXml(XmlWriter) WriteXml(XmlWriter)

Serializes the AnnotationResource to a specified XmlWriter.

Explicit Interface Implementations

INotifyPropertyChanged.PropertyChanged INotifyPropertyChanged.PropertyChanged INotifyPropertyChanged.PropertyChanged INotifyPropertyChanged.PropertyChanged

This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Applies to