XmlStreamStore.GetAnnotation(Guid) Method

Definition

Returns the annotation with the specified Id from the store.

public:
 override System::Windows::Annotations::Annotation ^ GetAnnotation(Guid annotationId);
public override System.Windows.Annotations.Annotation GetAnnotation (Guid annotationId);
override this.GetAnnotation : Guid -> System.Windows.Annotations.Annotation
Public Overrides Function GetAnnotation (annotationId As Guid) As Annotation

Parameters

annotationId
Guid

The GUID Id property of the annotation to be returned.

Returns

Annotation

The annotation with the given annotationId; otherwise, 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