Annotation.Anchors Egenskap

Definition

Hämtar en samling med noll eller fler AnnotationResource fästpunktselement som definierar de dataval som kommenteras.

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

Egenskapsvärde

En samling med noll eller fler AnnotationResource fästelement.

Kommentarer

Var AnnotationResource och en i Anchors samlingen identifierar ett dataval som anteckningen är bunden till (med andra ord "det dataval som kommenteras"). Även om de flesta anteckningar refererar till en enskild datamarkering och bara innehåller ett fästpunkt AnnotationResource, kan flera fästpunkter inträffa om en enda anteckning refererar till flera dataval.

Den returnerade Anchors samlingen är aldrig null. Samlingen kan dock innehålla noll element.

Gäller för