Id Property
Collapse the table of content
Expand the table of content

Annotation.Id Property


Gets the globally unique identifier (GUID) of the Annotation.

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

public Guid Id { get; }

Property Value

Type: System.Guid

The GUID of the annotation.


Id returns Empty if the annotation was instantiated by using the default Annotation constructor without parameters. An Annotation constructor with parameters should be used to correctly instantiate a new annotation with a valid GUID.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft