Επεξεργασία

Κοινή χρήση μέσω


Annotation.AnnotationType Property

Definition

Gets the XmlQualifiedName of the annotation type.

public:
 property System::Xml::XmlQualifiedName ^ AnnotationType { System::Xml::XmlQualifiedName ^ get(); };
public System.Xml.XmlQualifiedName AnnotationType { get; }
member this.AnnotationType : System.Xml.XmlQualifiedName
Public ReadOnly Property AnnotationType As XmlQualifiedName

Property Value

The XML qualified name for this kind of annotation.

Remarks

The returned annotation type is the XmlQualifiedName name passed as a parameter to the Annotation constructor.

Note

AnnotationType returns null if the annotation was incorrectly constructed by using a parameterless constructor without parameters. (The parameterless constructor without parameters does not fully initialize the instance and is used only internally in combination with XML serialization.) To create a new annotation, applications should use the Annotation constructor that takes an XmlQualifiedName as a parameter.

Applies to