This documentation is archived and is not being maintained.
AnnotationResource Class
Visual Studio 2010
Represents a content anchor or cargo resource for an Annotation.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: Not mapped to an xmlns.
The AnnotationResource type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AnnotationResource() | This constructor supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
![]() | AnnotationResource(Guid) | This constructor supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
![]() | AnnotationResource(String) | Initializes a new instance of the AnnotationResource class with a specified name. |
| Name | Description | |
|---|---|---|
![]() | ContentLocators | Gets the collection of ContentLocatorBase elements contained in this resource. |
![]() | Contents | Gets a collection of the XmlElement objects that define the content of this resource. |
![]() | Id | Gets the GUID of this resource. |
![]() | Name | Gets or sets a name for this AnnotationResource. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetSchema | Always returns nullptr. See Annotations Schema for schema details. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReadXml | Deserializes the AnnotationResource from a specified XmlReader. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WriteXml | Serializes the AnnotationResource to a specified XmlWriter. |
| Name | Description | |
|---|---|---|
![]() ![]() | INotifyPropertyChanged::PropertyChanged | This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:

