Modifica

Condividi tramite


AnnotationStore.GetAnnotation(Guid) Method

Definition

Returns the annotation with the specified Id from the store.

public:
 abstract System::Windows::Annotations::Annotation ^ GetAnnotation(Guid annotationId);
public abstract System.Windows.Annotations.Annotation GetAnnotation (Guid annotationId);
abstract member GetAnnotation : Guid -> System.Windows.Annotations.Annotation
Public MustOverride Function GetAnnotation (annotationId As Guid) As Annotation

Parameters

annotationId
Guid

The GUID Id property of the annotation to be returned.

Returns

The annotation with the given annotationId; or null, if an annotation with the specified annotationId was not found in the store.

Exceptions

Dispose has been called on the store.

Applies to

See also