XPathNavigator.XmlType 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 XmlSchemaType information for the current node.
public:
virtual property System::Xml::Schema::XmlSchemaType ^ XmlType { System::Xml::Schema::XmlSchemaType ^ get(); };
public override System.Xml.Schema.XmlSchemaType? XmlType { get; }
public override System.Xml.Schema.XmlSchemaType XmlType { get; }
member this.XmlType : System.Xml.Schema.XmlSchemaType
Public Overrides ReadOnly Property XmlType As XmlSchemaType
Property Value
An XmlSchemaType object; default is null
.
Remarks
The following are important notes to consider when using the XmlType property.
The XmlType property is
null
, unless the Validity property of the SchemaInfo property of the XPathNavigator is set to XmlSchemaValidity.Valid.If this node is valid, the XmlType property is the same as the SchemaType property of the SchemaInfo property of the XPathNavigator, unless this node is a member of a union.
If this node is a member of a union, the XmlType property is the same as the MemberType property of the SchemaInfo property of this XPathNavigator.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για