Annotation.AnnotationType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.