Redigera

Dela via


Annotation Constructors

Definition

Initializes a new instance of the Annotation class.

Overloads

Annotation()

This constructor supports the Windows Presentation Foundation infrastructure and is not intended to be used directly from your code.

Annotation(XmlQualifiedName)

Initializes a new instance of the Annotation class that has a specified type name and namespace.

Annotation(XmlQualifiedName, Guid, DateTime, DateTime)

This constructor supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Annotation()

This constructor supports the Windows Presentation Foundation infrastructure and is not intended to be used directly from your code.

public:
 Annotation();
public Annotation ();
Public Sub New ()

Remarks

Note

Applications should not use the parameterless constructor without parameters-the parameterless constructor does not fully initialize the instance. To create a new Annotation applications should use one of the parameter-based constructors.

Applies to

Annotation(XmlQualifiedName)

Initializes a new instance of the Annotation class that has a specified type name and namespace.

public:
 Annotation(System::Xml::XmlQualifiedName ^ annotationType);
public Annotation (System.Xml.XmlQualifiedName annotationType);
new System.Windows.Annotations.Annotation : System.Xml.XmlQualifiedName -> System.Windows.Annotations.Annotation
Public Sub New (annotationType As XmlQualifiedName)

Parameters

annotationType
XmlQualifiedName

The type name of the annotation.

Applies to

Annotation(XmlQualifiedName, Guid, DateTime, DateTime)

This constructor supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

public:
 Annotation(System::Xml::XmlQualifiedName ^ annotationType, Guid id, DateTime creationTime, DateTime lastModificationTime);
public Annotation (System.Xml.XmlQualifiedName annotationType, Guid id, DateTime creationTime, DateTime lastModificationTime);
new System.Windows.Annotations.Annotation : System.Xml.XmlQualifiedName * Guid * DateTime * DateTime -> System.Windows.Annotations.Annotation
Public Sub New (annotationType As XmlQualifiedName, id As Guid, creationTime As DateTime, lastModificationTime As DateTime)

Parameters

annotationType
XmlQualifiedName

The type name of the annotation.

id
Guid

The GUID for the annotation.

creationTime
DateTime

The date and time the annotation was first created.

lastModificationTime
DateTime

The date and time the annotation was last modified.

Remarks

Note

This constructor is used by the WPF serialization infrastructure and should not be used directly under ordinary circumstances.

See also

Applies to