AnnotationStore.GetAnnotation(Guid) Метод

Определение

Возвращает заметку с указанным Id, находящуюся в хранилище.

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

Параметры

annotationId
Guid

Свойство Id GUID возвращаемой заметки.

Возвращаемое значение

Заметка с заданным annotationId или значение null, если заметка с таким annotationId в хранилище не найдена.

Исключения

В хранилище уже выполнен вызов Dispose.

Применяется к

См. также раздел