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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應