Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Annotation::Cargos Property

 

Gets a collection of zero or more AnnotationResource cargo elements that contain data for the annotation.

Namespace:   System.Windows.Annotations
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property Collection<AnnotationResource^>^ Cargos {
	Collection<AnnotationResource^>^ get();
}

Property Value

Type: System.Collections.ObjectModel::Collection<AnnotationResource^>^

A collection of zero or more AnnotationResource cargo elements.

Each AnnotationResource in the Cargos collection contains user-defined data for the annotation.

The returned Cargos collection is never null; however, the collection may contain zero elements if there is no user data for the annotation.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft