Edit

Share via


Annotation.Cargos Property

Definition

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

public:
 property System::Collections::ObjectModel::Collection<System::Windows::Annotations::AnnotationResource ^> ^ Cargos { System::Collections::ObjectModel::Collection<System::Windows::Annotations::AnnotationResource ^> ^ get(); };
public System.Collections.ObjectModel.Collection<System.Windows.Annotations.AnnotationResource> Cargos { get; }
member this.Cargos : System.Collections.ObjectModel.Collection<System.Windows.Annotations.AnnotationResource>
Public ReadOnly Property Cargos As Collection(Of AnnotationResource)

Property Value

A collection of zero or more AnnotationResource cargo elements.

Remarks

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.

Applies to