AnnotationStore.GetAnnotation Method (Guid)

 

Returns the annotation with the specified Id from the store.

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

public abstract Annotation GetAnnotation(
	Guid annotationId
)

Parameters

annotationId
Type: System.Guid

The globally unique identifier (GUID) Id property of the annotation to be returned.

Return Value

Type: System.Windows.Annotations.Annotation

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

Exception Condition
ObjectDisposedException

Dispose has been called on the store.

.NET Framework
Available since 3.0
Return to top
Show: